Top "Httpwebrequest" questions

HttpWebRequest is a class for .NET Framework applications that provides a HTTP-specific implementation of the WebRequest class.

What is the difference between HTTP status code 200 (cache) vs status code 304?

I'm using the Google "Page Speed" plug-in for Firefox to access my web site. Some of the components on my …

http caching httpwebrequest http-status-codes cache-control
Add custom header in HttpWebRequest

I need to add some custom headers to the HttpWebRequest object. How can I add Custom Header to HttpWebRequest object …

c# windows-phone-7 header http-headers httpwebrequest
Setting a WebRequest's body data

I'm creating a web request in ASP.NET and I need to add a bunch of data to the body. …

c# httpwebrequest
Getting a Request.Headers value

Very simple I'm sure, but driving me up the wall! There is a component that I use in my web …

c# asp.net-mvc httpwebrequest http-headers namevaluecollection
.Net HttpWebRequest.GetResponse() raises exception when http status code 400 (bad request) is returned

I am in a situation where when I get an HTTP 400 code from the server, it is a completely legal …

.net httpwebrequest
How to send an HTTPS GET Request in C#

Related: how-do-i-use-webrequest-to-access-an-ssl-encrypted-site-using-https How to send an HTTPS GET Request in C#?

c# .net ssl httpwebrequest
The server committed a protocol violation. Section=ResponseStatusLine ERROR

I have created a program, tried to post a string on a site and I get this error: "The server …

c# httpwebrequest
The request was aborted: Could not create SSL/TLS secure channel

My customer has informed my of issues with their SSL and Internet Explorer. They said they get trust issues when …

c# asp.net ssl httpwebrequest
Login to website, via C#

I'm relatively new to using C#, and have an application that reads parts of the source code on a website. …

c# httpwebrequest webclient
Using CookieContainer with WebClient class

I've previously used a CookieContainer with HttpWebRequest and HttpWebResponse sessions, but now, I want to use it with a WebClient. …

c# cookies httpwebrequest webclient cookiecontainer