Python Paste


httpencode

The httpencode package exports these for getting formatters:

get_format(mimetype, [output])

Exceptions:

  • NoFormatError

Also these functions are exported for doing requests:

  • GET
  • POST
  • PUT
  • DELETE

Modules

The httpencode module exposes 11 submodules:

api
bsoupfilter
etree
form
format
Implements Format objects, which represent different formats and serializations. Concrete implementations instantiate Format.
http
json
lxmlformat
Parses XML and HTML to lxml nodes
mimeparse
MIME-Type Parser
registry
Finds formats given criteria or name.
wrappers
Lazy serialization and decoding wrappers for app_iter and wsgi.input objects

See the source for more information.