Skip to content

How to remove http2 support? #1505

Answered by seanmonstar
lz1998 asked this question in Q&A
Discussion options

You must be logged in to vote

There currently isn't a way to disable HTTP/2 support in reqwest. In a way, reqwest was using its "opinionated client"-ness to say most people want it.

But, since we do allow people to opt-in to a bunch of other things that are "hefty" to compile, it does make sense to make HTTP/2 (and HTTP/3 eventually) optional. It will require a breaking change release in reqwest, to make a feature optional.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lz1998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants