Let us walk on the 3-isogeny graph
|
Functions | |
choose_boundary () | |
iter_field_objects (fields) | |
iter_fields (fields) | |
encode_multipart_formdata (fields, boundary=None) | |
Variables | |
writer = codecs.lookup("utf-8")[3] | |
choose_boundary | ( | ) |
Our embarrassingly-simple replacement for mimetools.choose_boundary.
Definition at line 15 of file filepost.py.
References i.
Referenced by pip._vendor.urllib3.filepost.encode_multipart_formdata().
encode_multipart_formdata | ( | fields, | |
boundary = None |
|||
) |
Encode a dictionary of ``fields`` using the multipart/form-data MIME format. :param fields: Dictionary of fields or list of (key, :class:`~urllib3.fields.RequestField`). :param boundary: If not specified, then a random boundary will be generated using :func:`urllib3.filepost.choose_boundary`.
Definition at line 63 of file filepost.py.
References pip._vendor.urllib3.filepost.choose_boundary(), i, pip._vendor.urllib3.filepost.iter_field_objects(), and pip._vendor.urllib3.filepost.writer.
iter_field_objects | ( | fields | ) |
Iterate over fields. Supports list of (k, v) tuples and dicts, and lists of :class:`~urllib3.fields.RequestField`.
Definition at line 25 of file filepost.py.
References i.
Referenced by pip._vendor.urllib3.filepost.encode_multipart_formdata().
iter_fields | ( | fields | ) |
.. deprecated:: 1.6 Iterate over fields. The addition of :class:`~urllib3.fields.RequestField` makes this function obsolete. Instead, use :func:`iter_field_objects`, which returns :class:`~urllib3.fields.RequestField` objects. Supports list of (k, v) tuples and dicts.
Definition at line 45 of file filepost.py.
References i.
writer = codecs.lookup("utf-8")[3] |
Definition at line 12 of file filepost.py.
Referenced by pip._vendor.urllib3.filepost.encode_multipart_formdata().