Mark and Anurag,
On 10/1/24 08:38, Mark Thomas wrote:
On 01/10/2024 06:15, Anurag Sharma wrote:
Dear Tomcat Team,
I hope this message finds you well.
I am currently facing a challenge regarding the use of HTTP/1.1 for
specific API endpoints within a servlet configured for HTTP/2. My
browser defaults to HTTP/2, which complicates the situation as I need
to proxy some APIs to a server that only supports HTTP/1.1.
Is there a workaround available to enforce HTTP/1.1 for these
particular endpoints?
It isn't clear from the above which component needs to talk to which
using what protocol.
Servlets don't care whether the request is received via HTTP/1.1 or HTTP/2.
Tomcat will happily process requests for the same servlet using HTTP/1.1
or HTTP/2 depending on client support.
Outgoing requests from Tomcat to external services are outside of the
control of Tomcat and are entirely an application concern.
Can you be more precise about what the problem is?
Also... where is the proxy? Out in front of Tomcat, or is your
application acting as the proxy?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org