mimerender's documentation ========================== mimerender is a Python module for RESTful resource variant selection using the HTTP Accept header It acts as a decorator that wraps a HTTP request handler to select the correct render function for a given HTTP Accept header. It uses `mimeparse `_ to parse the accept string and select the best available representation. Support for `webapp2 `_ (`Google App Engine `_), `web.py `_, `Flask `_ and `Bottle `_ is available out of the box and it's easy to add support for your favourite framework, just extend the :class:`MimeRenderBase` class. Contents ======== .. toctree:: :maxdepth: 2 examples api Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`