You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2021. It is now read-only.
Not sure if the problem is in Hyper/h2 or in nghttp2, but AssertionError would suggest the former:
$ hyper GET http://nghttp2.org/
Traceback (most recent call last):
File "/home/vasiliy/tmp/env4/bin/hyper", line 11, in <module>
load_entry_point('hyper==0.8.0.dev0', 'console_scripts', 'hyper')()
File "/home/vasiliy/tmp/env4/lib/python3.5/site-packages/hyper/cli.py", line 259, in main
data = request(args)
File "/home/vasiliy/tmp/env4/lib/python3.5/site-packages/hyper/cli.py", line 249, in request
response = conn.get_response()
File "/home/vasiliy/tmp/env4/lib/python3.5/site-packages/hyper/common/connection.py", line 130, in get_response
return self._conn.get_response(*args, **kwargs)
File "/home/vasiliy/tmp/env4/lib/python3.5/site-packages/hyper/http11/connection.py", line 225, in get_response
self
File "/home/vasiliy/tmp/env4/lib/python3.5/site-packages/hyper/http11/response.py", line 69, in __init__
assert self._expect_close or self._length is not None or self._chunked
AssertionError
With tcpdump, I see the HTTP/1.1 upgrade dance, and I see nghttp2.org sending the HTML. I can attach the dump if you wish.