I'm sure you are correct about that line being a protocol response
rather than an actual header. I just needed the same information I
used to get using HttpQueryInfo with the HTTP_QUERY_RAW_HEADERS_CRLF
flag, which includes the HTTP/1.1 <status> <description> line. So, I
built that line manually, from other information available from the
HttpWebResponse object.

> -----Original Message-----
> From: dotnet discussion
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Brad Wilson
> Sent: Sunday, April 14, 2002 19:23
> To: [EMAIL PROTECTED]
> Subject: Re: HttpWebReqponse - raw headers?
>
>
> Tracy Martin wrote:
>
> > Thanks for the response... Since posting, I've come
> across the fact
> > that the ToString method of the Headers property is overloaded and
> > returns the headers - except for the first line.
>
> That's because the first line isn't part of the headers,
> it's part of the
> HTTP protocol.
>
> Brad
>
> --
> Read my web log at http://www.quality.nu/dotnetguy/
>
> You can read messages from the DOTNET archive, unsubscribe
> from DOTNET, or
> subscribe to other DevelopMentor lists at
http://discuss.develop.com.

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