[web-devel] Finding the redirected-to URL in http-client?

Michael Alan Dorman mdorman at ironicdesign.com
Wed Aug 13 10:55:31 UTC 2014


I appreciate http-client's ability to automatically handle redirections
for me---even chained ones.

However, I cannot seem to find a way to retrieve out what the terminal
URL was---the information is presumably available within the data
structures http-client uses (since there are a couple of HttpExceptions
that effectively expose it), but I don't see any way to get to it
through the public API.

MIke.


More information about the web-devel mailing list