R
Richard Page
I have built a basic web crawler in C# using the HttpWebRequest class. It
works fine except in one case where I can only get a custom "content loading
...." message from the server app (an asp.net app as it happens) , althought
the page actually contains a lot of data.
I can view it perfectly in IE6, but I cannot capture it in my crawler. I
get the same clipped response when I browse the site with Sam Spade.
Obviously IE is a bit smarter than my app, the question is why?
My HttpWebResponse object does not report any redirection and the status
code is HttpStatusCode.OK. My guess is the aspx page includes a
server.transfer statement which my app cannot follow and interprets as a
connection closed message.
Am I missing something in Http?
Richard
works fine except in one case where I can only get a custom "content loading
...." message from the server app (an asp.net app as it happens) , althought
the page actually contains a lot of data.
I can view it perfectly in IE6, but I cannot capture it in my crawler. I
get the same clipped response when I browse the site with Sam Spade.
Obviously IE is a bit smarter than my app, the question is why?
My HttpWebResponse object does not report any redirection and the status
code is HttpStatusCode.OK. My guess is the aspx page includes a
server.transfer statement which my app cannot follow and interprets as a
connection closed message.
Am I missing something in Http?
Richard