- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 01 Dec 2009 10:59:20 +0000
- To: public-xml-processing-model-comments@w3.org
- Message-ID: <m2zl63arjr.fsf@nwalsh.com>
"Toman_Vojtech@emc.com" <Toman_Vojtech@emc.com> writes:
> Are you sure? If you use a Java library like Apache HttpClient, you
> can
> do something like this:
>
> HttpMethod method = ...;
> new HttpClient().executeMethod(method);
> URI resolvedURI = method.getURI();
It's possible that Apache HttpClient supports it, I didn't try. I was
trying to use simpler, native Java classes.
> If you run the code above, the value of resolvedURI will point to the
> *final location* of where the connection resolved to.
>
> This is what we do in our implementation and it seems to work just
> fine.
Ok. I'll give that a try.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Is your cucumber bitter? Throw it away.
http://nwalsh.com/ | Are there briars in your path? Turn
| aside. That is enough. Do not go on to
| say, 'Why were things of this sort ever
| brought into the world?'--Marcus
| Aurelius
Received on Tuesday, 1 December 2009 12:17:43 UTC