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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for mimerender_pr36-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 260eceeca204d11a4b43cc5d1fe60d757048e6b3dd51b87b64c68c153faadacc |
|
MD5 | 65d3dcbec6276271cd5f0b5a0df1b6a5 |
|
BLAKE2b-256 | 48d54f84e7b14f115d49bde75babd13e67ec3b19d077bffc937cab2fc524eac5 |