Support HTTP/2 communication with clients #796
Replies: 8 comments
-
@normal-cock How did you try sending Using browserIf you configure your system/browser to use Using curl with --http2
|
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
@abhinavsingh from hyper import HTTP20Connection
# proxy.py is listening on 8899
# h2 server is listening on 8443 using http instead of https
conn = HTTP20Connection('127.0.0.1:8443', secure=False, proxy_host='127.0.0.1', proxy_port='8890')
conn.request('GET', '/') The execution was block after |
Beta Was this translation helpful? Give feedback.
-
@normal-cock Thanks for clarifying. Unfortunately, While |
Beta Was this translation helpful? Give feedback.
-
@normal-cock Also I realized See example below for my personal website which does support HTTP2: Curl with --http2 for http:// resources
Curl with --http2 for https:// resources
So both cases works just fine. |
Beta Was this translation helpful? Give feedback.
-
For above errors there can be two reasons:
|
Beta Was this translation helpful? Give feedback.
-
I figure out the reason of different phenomena.
Actual resultSo the actual result is that |
Beta Was this translation helpful? Give feedback.
-
@normal-cock Awesome. Thanks for verification via |
Beta Was this translation helpful? Give feedback.
-
I've tried to forward http2.0 request to a http2.0 server using
h2
, it seems thatproxy.py
doesn't work normally and I can't get response from the http2.0 server. I also read the source code ofproxy.py
, but didn't find any code related to http2.0. However, according to Readme.md, it is said that http2 is supported . I'm not sure if I miss something?Beta Was this translation helpful? Give feedback.
All reactions