Comment by shakna
2 months ago
I think you missed which servers are connected at the end of which request, there.
Reqbin receives an upgrade request to HTTP2, that it never follows.
2 months ago
I think you missed which servers are connected at the end of which request, there.
Reqbin receives an upgrade request to HTTP2, that it never follows.
The curl output you post confuses me. Can you post the full output? The output you posted didn't show a redirect loop. But since you cut out content, maybe there was a redirect loop that I can't see.
Here's my full curl output. No redirect loop:
>Reqbin receives an upgrade request to HTTP2, that it never follows.
You mean Reqbin receives a response with an Upgrade: h2,h2c header? That's not exactly a request to upgrade. That's the server advertising that it supports those protocols for upgrading. The client is free to ignore them. Also, h2 is actually an invalid upgrade protocol, not listed in the standard:
https://www.iana.org/assignments/http-upgrade-tokens/http-up...
https://stackoverflow.com/questions/67583138/why-does-the-ht...
According to that SO post, Apache advertises Upgrade: h2, h2c in its responses, but if the client attempts to upgrade to h2, Apache ignores it. So I believe Reqbin is doing the correct thing in not upgrading to h2. As for upgrading to h2c, that also wouldn't be possible, because that header was sent in response to an https:// request, but h2c only makes sense when upgrading from an http:// request.