Top "Httpwebrequest" questions

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

Where to find HTTP methods examples?

HTTP defines eight methods (sometimes referred to as "verbs") Can you help me find examples for each one so I …

http httpwebrequest
How to disable the “Expect: 100 continue” header in WinRT's HttpWebRequest

I'm developing an app that for legacy code reasons I can't upgrade for the new HttpClient so I'm using HttpWebRequests. …

c# windows-8 httpwebrequest windows-runtime
What is the correct Content-Length to set for a GET request?

When I make a POST request using the following code: string body = "Hello World"; byte[] bytes = Encoding.ASCII.GetBytes(body); …

http http-headers httpwebrequest content-length
.NET: Is it possible to get HttpWebRequest to automatically decompress gzip'd responses?

In this answer, I described how I resorted to wrappnig a GZipStream around the response stream in a HttpWebResponse, in …

.net httpwebrequest gzip
"too many automatic redirections were attempted" error message when using a httpWebRequest in .NET

I am attempting to request a page like "http://www.google.com/?q=random" using the webrequest class in vb.…

.net vb.net httpwebrequest webrequest
C# Enforcing HttpWebRequest to use Tls12 instead of SSLv3

I have App that makes use of some web service and acquire data via JSON, all was working fine for …

c# ssl httpwebrequest poodle-attack
Send POST with WebClient.DownloadString in C#

I know there are a lot of questions about sending HTTP POST requests with C#, but I'm looking for a …

c# http post httpwebrequest webclient
Web Request error 407 Proxy Authentication Required

Trying to GetResponse From a web site; using System.Text; using System.Net; using System.IO; namespace DutyPharmacy751013 { class Program { …

c# asp.net httpwebrequest lan
HttpWebRequest.GetResponse() hangs the second time it is called

I'm trying to fetch a series of files via HTTP, using HttpWebRequest. The first request goes through fine, but the …

c# .net httpwebrequest
Copying Http Request InputStream

I'm implementing a proxy action method that forwards the incoming web request and forwards it to another web page, adding …

c# asp.net asp.net-mvc httpwebrequest webrequest