On 12/03/2021 01:50, Anurag Sharma wrote:

My code is running on local host and i am hitting one of my urls as below

  curl -k -vv --http1.1 "https://localhost:8443/versa/login"; -H 'Host: 
google.com'

Now i m a trying to read the url in my code using following

StringBuffer url = httpServletRequest.getRequestURL();

The value is always as follows whether the  protocal HTTP/1.1 or HTTP/2
https://google.com/versa/login

how to read the original url here?

Tomcat version?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to