hyper:适用于Python的HTTP2

时间:2021-02-24 04:28:59
【文件属性】:
文件名称:hyper:适用于Python的HTTP2
文件大小:419KB
文件格式:ZIP
更新时间:2021-02-24 04:28:59
Python 超级:适用于Python的HTTP / 2客户端 该项目不再维护! 请使用其他替代方法,例如或其他。 我们不会发布有关hyper进一步更新。 潜在的安全问题将不会得到解决。 这么久了,感谢所有的鱼! HTTP正在发生变化。 HTTP / 1.1,我们的老朋友,正在通过全新的HTTP / 2标准进行补充。 HTTP / 2提供了许多好处:速度提高,带宽使用率降低,更好的连接管理等等。 hyper为您的Python代码提供了这些好处。 如何? 像这样: from hyper import HTTPConnection conn = HTTPConnection('nghttp2.org:443') conn.request('GET', '/httpbin/get') resp = conn.get_response() print(resp.read()) 简单的。 买者自负!
【文件预览】:
hyper-development
----setup.py(3KB)
----.gitignore(72B)
----Makefile(211B)
----tasks.py(2KB)
----CONTRIBUTORS.rst(2KB)
----.travis.yml(499B)
----MANIFEST.in(105B)
----LICENSE(1KB)
----HISTORY.rst(12KB)
----setup.cfg(52B)
----examples()
--------twscrape.hy(1021B)
--------ip.hy(228B)
----NOTICES(2KB)
----README.rst(3KB)
----test_release.py(7KB)
----.coveragerc(254B)
----test_requirements.txt(82B)
----.travis()
--------install.sh(206B)
--------run.sh(254B)
----hyper()
--------compat.py(2KB)
--------http11()
--------ssl_compat.py(10KB)
--------__init__.py(891B)
--------httplib_compat.py(4KB)
--------cli.py(7KB)
--------contrib.py(7KB)
--------http20()
--------common()
--------certs.pem(316KB)
--------tls.py(5KB)
----docs()
--------Makefile(7KB)
--------make.bat(7KB)
--------source()
----test()
--------test_http11.py(30KB)
--------test_cli.py(7KB)
--------test_integration_http11.py(14KB)
--------test_hyper.py(54KB)
--------test_socket.py(8KB)
--------test_headers.py(7KB)
--------test_ssl_socket.py(3KB)
--------test_abstraction.py(4KB)
--------test_integration.py(53KB)
--------server.py(6KB)
--------certs()
--------test_parser.py(2KB)
--------test_windowmanager.py(3KB)
--------test_http20.py(953B)
--------test_hyper_SSLContext.py(1KB)
--------test_import.py(666B)
--------test_SSLContext.py(3KB)
----tox.ini(385B)

网友评论