[squeak-dev] WebClient does not seem to provide any way of
getting the terminating, absolute URL of a response
jaayer
jaayer at zoho.com
Tue Aug 24 02:53:01 UTC 2010
---- On Mon, 23 Aug 2010 19:48:27 -0700 jaayer wrote ----
>But this addition to WebResponse seems to do the trick (even when the request was redirected):
>finalUrl
> ^ 'http://', (request headerAt: 'Host'), request rawUrl
>
>I kind of think
got cutoff there. I was going to say that perhaps there ought to be a method in WebRequest to get the absolute URL of a request, and maybe this method in WebResponse can be reimplemented in terms of it.
More information about the Squeak-dev
mailing list
|