python3-mimerender

RESTful HTTP Content Negotiation for web frameworks (Python 3)
  https://github.com/martinblech/mimerender
  0
  no reviews



Mimerender provides a decorator that wraps an 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.

mimerender supports Flask, Bottle, web.py and webapp2 out of the box, and it’s easy to add support for other frameworks.

This package contains the Python 3 module.