Skip to content

Compatibility with HTTP/2#51

Open
EtienneBruines wants to merge 1 commit intohitmeister:developfrom
EtienneBruines:develop
Open

Compatibility with HTTP/2#51
EtienneBruines wants to merge 1 commit intohitmeister:developfrom
EtienneBruines:develop

Conversation

@EtienneBruines
Copy link
Contributor

Fixes #49.

Allows for HTTP/2 usage with the API. As this usually offers better performance as HTTP/1, this should be preferred.

The code works with both version 1.1 and 2.0 hardcoded (as well as not defining the version). However, I've noticed the default being 1.1 in my tests, when I don't configure anything. So it's not defaulting to HTTP/2 anymore - I don't know why (perhaps a server configuration?).

Anyhow, this should prove to be future-proof for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant