Skip to main content

RESTful HTTP Content Negotiation for Flask, Bottle, web.py and webapp2 (Google App Engine)

Project description

Fork for https://github.com/martinblech/mimerender/pull/36. This module provides 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. Supports Flask, Bottle, web.py and webapp2 out of the box, and it’s easy to add support for other frameworks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mimerender-pr36-0.0.2.tar.gz (19.3 kB view hashes)

Uploaded Source

Built Distribution

mimerender_pr36-0.0.2-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page