formdata

Module Contents

Classes

FormData(self,fields=tuple,quote_fields=True,charset=None) Helper class for multipart/form-data and
class FormData(fields=tuple, quote_fields=True, charset=None)

Helper class for multipart/form-data and application/x-www-form-urlencoded body generation.

__init__(fields=tuple, quote_fields=True, charset=None)
is_multipart()
add_field(name, value)
add_fields(*fields)
_gen_form_urlencoded()
_gen_form_data()

Encode a list of fields using the multipart/form-data MIME format

__call__()