On 02/06/2023 15:31, Christopher Schultz wrote:
All,
Is it possible to get the /actual/ protocol used for communication with
a tomcat server? I'm using AJP/13 and request.getProtocol is returning
"HTTP/1.1" which is not 100% surprising.
I'm wondering if the request has anything in it which specifies the
"actual" protocol which was used.
HttpServletRequest.getServletConnection().getProtocol()
(requires Servlet 6.0 / Tomcat 10.1.x onwards)
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org