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
I'm super excited that we've got an HTTP/2 implementation in here, but we also need to consider what default behavior we should be aiming for, and what we should prioritise.
Our HTTP/2 implementation is neccessarily going to be more complex, and less mature than our HTTP/1.1 implementation. Even if that wasn't the case, then HTTP/2 infrastructure that we're connecting too is more likely to have implementation issue and quirks than HTTP/1.1 versions.
I think we ought to clearly be prioritizing for reliablity, while still supporting users that want the more cutting-edge functionality.
I'd suggest that:
We ought to have a documentation page on HTTP/2, with a brief overview of the primary differences, and motivation as to why user might or might not want to switch HTTP/2 support on.
We ought to tidy up our interface for switching between HTTP versions.
We currently have this...
client=Client(http_versions=["HTTP/1.1", "HTTP/2"]) # Really clunkyclient=Client(http_versions=["HTTP/1.1"])
client=Client(http_versions=["HTTP/2"]) # Doesn't really make sense - you *might* still end up with an HTTP/1.1 connection.
Activity