RESTful resource variant rendering using MIME Media-Types, for the Flask Micro Web Framework
Project description
- This module allows, with the use of python decorators, to transparently select a render function for an HTTP request handler’s result. It uses mimeparse to parse the HTTP Accept header and select the best available representation.
This is a Flask port from the original, excellent, mimerender v0.2.3 by Martin Blech (http://code.google.com/p/mimerender/)
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
File details
Details for the file Flask-MimeRender-0.1.3.tar.gz
.
File metadata
- Download URL: Flask-MimeRender-0.1.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bfffbfcac2f600f4d247f6d3944344a8541ca3310bd5a459763ee7c560a5fa7 |
|
MD5 | 9b33d2bc1f15541e2c5a0d5da9dbf657 |
|
BLAKE2b-256 | 7ec9a358073906b106b8d2b905e2309ae56b9ebeca21f58bdc4e4469699b1bea |