M
MrMikeInNH
Hi all,
I am curious that if I create an HttpWebRequest object and set the
Method of it to "HEAD", when I call GetResponse() do I get the whole
document sent from the responding server or do I just get the Headers
of the document I requested? Would this also mean, that I don't
actually download any of the body of the document until I call
GetResponseStream() on the HttpWebResponse object? I'm trying to limit
how much data I download, as I really only need to get the URI from the
HttpWebResponse object, not the entire page.
Thanks,
Mike
I am curious that if I create an HttpWebRequest object and set the
Method of it to "HEAD", when I call GetResponse() do I get the whole
document sent from the responding server or do I just get the Headers
of the document I requested? Would this also mean, that I don't
actually download any of the body of the document until I call
GetResponseStream() on the HttpWebResponse object? I'm trying to limit
how much data I download, as I really only need to get the URI from the
HttpWebResponse object, not the entire page.
Thanks,
Mike