Hello,
I have a function that send the request by the HttpWebRequest and get the HttpWebResponse from that request but I have the server committed a protocal violation. Section=ResponseStatusLine failed at the HttpWebResponse response = (HttpWebResponse)request.GetResponse(); Can someone shows me the right direction of what I did wrong? thanks.
Here is an error:
The server committed a protocol violation. Section=ResponseStatusLine
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
Source Error:
Line 276: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); Line 277: // execute the request Line 278: HttpWebResponse response = (HttpWebResponse)request.GetResponse();
View Complete Post
|