If the request is redirected, a new Uri is created.  You can get the
original Uri from HttpWebRequest.RequestUri, and the actual Uri from
HttpWebRequest.Address (this is set after the request has completed).

Jim

> -----Original Message-----
> From: Erick Thompson [mailto:[EMAIL PROTECTED]]
> Sent: 29 April 2002 20:53
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] Character escapes and HttpWebResponse
>
>
> Jim,
>
> Thanks for the pointer. It appears to work correctly now in
> my application.
>
> Is the HttpWebResponse.ResponseUri always going to be the
> same Uri as was
> passed to the WebRequest.Create method? If the server does a
> redirect, is a
> new Uri created to reflect the actual responding Uri?
>
> Thanks,
> Erick

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to