hyper
hyper copied to clipboard
HTTP/2 for Python.
just a minor fix of @zetahernandez's branch, should pass testing now
Documenting it for those poor souls who are still stuck with hyper under Python2.7. Passing a Unicode object (not an "str") in Python2.7 to a `hyper.tls.init_context` as a `cert` argument...
From the `py.test` output (as well as the output of other projects using `hyper`, if warnings are enabled): ``` =============================== warnings summary =============================== hyper/http11/connection.py:13 hyper/http11/connection.py:13 /hyper/hyper/http11/connection.py:13: DeprecationWarning: Using or importing...
``` import hashlib import requests import json from tls_version import MyAdapter import collections from userdata import UserData import time from random import randrange from hyper.contrib import HTTP20Adapter headers2 = [('Upgrade-Insecure-Requests',...
I am using hyper.contrib.HTTP20Adapter with requests in python. When session is started with requests (with HTTP20Adapter) and url is fetched, it does not set cookies as per 'set-cookie' header. So,...
Effectively immediately I am transferring this repository to the python-hyper organisation, and granting administrator access to @njsmith, @sethmlarson, and @tomchristie. They will be taking the lead maintenance role on this...
Hi, Is it possible to add query parameters when sending a HTTP/2 GET message using class HTTP20Connection? If so, can you paste an example here? Thanks in advance, Jan
Is there a way to send a request to a server that only supports HTTP2 (eg; running libnghttp2) *without* requiring the upgrade mechanism (which many HTTP2 only implementations do not...
This import now works on my python 3.9: from hyper.contrib import HTTP20Adapter I also needed to: pip install git+https://github.com/python-hyper/hyper-h2.git -U pip install git+https://github.com/python-hyper/hyperframe.git -U which told me that: ERROR: hyper...