Hey
Okay basically my application is accessing many web pages and grabbing the source code to parse, due to the nature of this, I use try catch exception block, upon finishing, I noticed that the follow error is caught many times:
Code:
"System.Net.WebException: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF\r\n at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)\r\n at System.Net.WebClient.DownloadString(Ur...
Now naturally I've done some research into this via mostly Googling
"The server committed a protocol violation."
Now I've found that you can apparently set a useUnsafeHeaderParsing apparently found in the WebRequest class, but for some reason I just can't see it:
http://img33.imageshack.us/img33/5465/progps.jpg also I think this can be altered in a ASP.NET app via using the web.config file, but obviously I don't have one :P.
I'd really appreciate some advice on this from the experts.