Repository navigation
Hyper 1.0 client side upgrade doesn't work for HTTP CONNECT #3502
Answered
by
seanmonstar
OldMansKid
asked this question in
Q&A
|
Hello hyper maintainers, I'm trying to let my Hyper client support HTTP proxy. Following the example in #1884 , I assume hyper::upgrade::on() should be used on the response to the CONNECT request, but it returns an error "upgrade expected but low level API in use". |
Answered by
seanmonstar
Dec 23, 2023
Replies: 1 comment
|
It is still supported, you need to call |
0 replies
Answer selected by
OldMansKid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is still supported, you need to call
Connection::with_upgrades()to enable them. The error message could probably be adjusted.