WebOb WSGI应用和过滤器使用的PasteDeploy入口点。
项目描述
PasteDeploy入口点,用于WebOb WSGI应用
自由软件:BSD许可证
功能
WebOb包含几个可以作为应用程序一部分使用的WSGI应用。但是,它不包括在PasteDeploy ini文件中使用、与例如[Gearbox](https://pypi.python.org/pypi/gearbox)一起使用的现成入口点。
此模块提供了这些入口点和所需的小包装。
提供的入口点包括
egg:webobentrypoints#staticdir
示例用法
以下是一个使用staticdir和代理应用的ini文件配置示例
[server:main] use = egg:gearbox#wsgiref host = 0.0.0.0 port = 5000 [composite:main] use = egg:rutter#urlmap /static = static / = content # Serve the /static directory from local disk [app:static] use = egg:webobentrypoints#staticdir path = %(here)s/theme # Otherwise display http://webob.org/ as the content [app:content] use = egg:webobentrypoints#proxy address = http://webob.org/ suppress_http_headers = accept-encoding connection
历史
0.1.0 (2014-09-25)
PyPI上的首次发布。
项目详情
关闭
webobentrypoints-0.1.0.zip 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | ec4685ba796ad4e43919412e3c6b6a3bdfe8222a513a52245821804cde6d2881 |
|
MD5 | 071c61dc1448d3253053ec0438988343 |
|
BLAKE2b-256 | ad5fcda080e63aa3e1c87a63ce974856c4049d6d1cd1aea8a6fbf1418fbc9efd |