跳转到主要内容

为Flask、Bottle、web.py和webapp2(Google App Engine)提供RESTful HTTP内容协商

项目描述

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.

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于安装软件包的信息。

源分布

mimerender-pr36-0.0.2.tar.gz (19.3 kB 查看散列值)

上传时间:

构建分布

mimerender_pr36-0.0.2-py3-none-any.whl (6.6 kB 查看散列值)

上传于 Python 3

由以下支持