About 50 results
Open links in new tab
  1. HttpWebRequest.GetResponse () keeps getting timed out

    HttpWebResponse response = (HttpWebResponse)request.GetResponse(); here are the facts: catching the exception and retying keeps causing the same exception the default HttpWebRequest .Timeout …

  2. .Net HttpWebRequest.GetResponse() raises exception when http status ...

    .Net HttpWebRequest.GetResponse () raises exception when http status code 400 (bad request) is returned Asked 16 years, 9 months ago Modified 2 years, 5 months ago Viewed 192k times

  3. Error Handling in System.Net.HttpWebRequest::GetResponse ()

    Mar 3, 2012 · I have a Powershell script that uses System.Net.HttpWebRequest to communicate with a remote host. I create the request, set properties accordingly and call getresponse() and …

  4. In Python, what does getresponse() return? - Stack Overflow

    Nov 17, 2009 · In Python, what does getresponse () return? Asked 16 years, 1 month ago Modified 16 years, 1 month ago Viewed 15k times

  5. HttpWebRequest.GetResponse throws WebException on HTTP 304

    May 28, 2017 · When a web server responds to HttpWebRequest.GetResponse () with HTTP 304 (Not Modified), GetResponse () thows a WebException, which is so very weird to me. Is this by design or …

  6. c# - How to get error information when HttpWebRequest.GetResponse ...

    I am initiating an HttpWebRequest and then retrieving it's response. Occasionally, I get a 500 (or at least 5##) error, but no description. I have control over both endpoints and would like the

  7. c# - System.Net.ProtocolViolationException: You must write ...

    Jul 8, 2015 · System.Net.ProtocolViolationException: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse Asked 10 years, 6 months ago Modified 9 years, 1 month …

  8. 500 internal server error at GetResponse() - Stack Overflow

    The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse () Does anybody have any idea about this error or can …

  9. Why does HttpWebRequest throw an exception instead returning ...

    Apr 10, 2012 · HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(Url); request.Method = "HEAD"; using (HttpWebResponse response = request.GetResponse() as …

  10. WebRequest.GetResponse() is throwing error 401: Unauthorized

    As of right now I don't have access to the IIS settings so I couldn't enable Anonymous Authentication which is very possible why Cybernate's answer was not working for me. I did find however a simpler …