Skip to main content

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


Download files

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

Source Distribution

Flask-MimeRender-0.1.3.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file Flask-MimeRender-0.1.3.tar.gz.

File metadata

File hashes

Hashes for Flask-MimeRender-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8bfffbfcac2f600f4d247f6d3944344a8541ca3310bd5a459763ee7c560a5fa7
MD5 9b33d2bc1f15541e2c5a0d5da9dbf657
BLAKE2b-256 7ec9a358073906b106b8d2b905e2309ae56b9ebeca21f58bdc4e4469699b1bea

See more details on using hashes here.

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