HTTP
The HTTP class is accessible via the httpencode.http module.
Attributes
a prefer_input_mimetypes
['application/x-www-forurlencoded', 'multipart/form-data', 'application/xml', '*']
Methods
f __init__(self, cache=None, default_encoding=None, default_input_content_type=None, default_input_format=None, prefer_input_mimetypes=None, default_post_input_type=None, redirections=None) ...
f clone(self, cache=None, default_encoding=None, default_input_content_type=None, default_input_format=None, prefer_input_mimetypes=None, default_post_input_type=None, redirections=None) ...
Create another HTTP instance with the same settings as the current one, but potentially overriding some settings.
f POST(self, uri, body=None, headers=None, wsgi_request=None, input=None, output=None, trusted=False) ...
f PUT(self, uri, body=None, headers=None, wsgi_request=None, input=None, output=None, trusted=False) ...
f request(self, uri, method='GET', body=None, headers=None, wsgi_request=None, input=None, output=None, trusted=False) ...
See the source for more information.