基于Python的BaseHTTPServer构建的独立Web服务器。
项目描述
基于Python的BaseHTTPServer构建的独立Web服务器
许可证
高级HTTP服务器在BSD 3条款许可证下发布,更多详情请参阅LICENSE文件。
功能
高级HTTP服务器在Python的BaseHTTPServer基础上构建,并提供了开箱即用的支持,例如: - 线程化请求处理 - 绑定到多个接口 - SSL和SNI支持 - 将处理函数注册到HTTP资源 - 默认robots.txt文件 - 基本认证 - HTTP动词GET、HEAD、POST和OPTIONS - 通过HTTP的远程过程调用(RPC) - WebSocket
依赖关系
高级HTTP服务器除了Python标准库外没有其他依赖。
以下版本的Python目前得到支持
Python 2.7
Python 3.3
Python 3.4
Python 3.5
Python 3.6
Python 3.7
代码文档
高级HTTP服务器使用Sphinx进行内部代码文档。此文档可以从源代码生成,命令为sphinx-build docs/source docs/html。最新文档由ReadTheDocs托管在advancedhttpserver.readthedocs.io。
版本2.0中的变更
已将AdvancedHTTPServer模块重命名为advancedhttpserver
以< span class="docutils literal">AdvancedHTTPServer为前缀的类已被重命名,以删除冗余的前缀
不再支持< span class="docutils literal">hmac_key选项
单个< span class="docutils literal">AdvancedHTTPServer实例现在可以绑定到多个端口
将< span class="docutils literal">RequestHandler.install_handlers方法重命名为< span class="docutils literal">on_init
< span class="docutils literal">SERIALIZER_DRIVERS已重命名为< span class="docutils literal">g_serializer_drivers
支持使用SNI扩展的SSL多主机名
支持持久HTTP 1.1 TCP连接
由AdvancedHTTPServer提供支持
< a href="https://github.com/securestate/king-phisher" rel="nofollow">King Phisher 网络钓鱼活动工具包
< a href="https://pip.pypa.org.cn/en/stable/topics/secure-installs/#hash-checking-mode" title="外部链接" target="_blank" rel="noopener">哈希值 for AdvancedHTTPServer-2.2.0.tar.gz
算法 | 哈希摘要 | |
---|---|---|
SHA256 | be152c6db04f67064b2f50710cacff70cdcef4619a501fa2614934029eb3fac1
|
|
MD5 | 6ac4bcfff86e96bb59ae7a886ae629f1
|
|
BLAKE2b-256 | aa7a71cb05d6f5924ecd398301e85de8543e9356118d8795907f31492ef4c226
|