[ buster ]
[ 原始碼: mimerender ]
套件:python-mimerender(0.6.0-1)
RESTful HTTP Content Negotiation for web frameworks (Python 2)
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 2 module.
其他與 python-mimerender 有關的套件
|
|
|
|
-
- dep: python
- interactive high-level object-oriented language (Python2 version)
-
- dep: python-mimeparse
- Parse mime-types and quality parameters - python 2.x