Python Paste


registry

Finds formats given criteria or name.


Functions

f find_format_match(type, mimetype) ...

Find a format object that can accept the given mimetype and produce the given type.

If debug is true, then information will be logged about how a format is selected.

f get_format(name) ...

Gets a format object by name

Formats are named by having an entry point in [httpencode.format] named name <name>

Classes

C NoFormatError(...) ...

Raised when no matching format can be found

This class contains 2 members.

See the source for more information.