tagged [http]

Create HTTP post request and receive response using C# console application

Create HTTP post request and receive response using C# console application I need to post data to a URL (https://somesite.com) to download file in responseStrem based on the parameters I posted. How c...

8 Oct at 15:30

What is the difference between a URI, a URL, and a URN?

What is the difference between a URI, a URL, and a URN? What is the difference between a [URL](http://en.wikipedia.org/wiki/Uniform_Resource_Locator), a [URI](http://en.wikipedia.org/wiki/Uniform_Reso...

6 Aug at 23:46

Problem redirecting 403 Forbidden to 404 Not Found

Problem redirecting 403 Forbidden to 404 Not Found The pertinent part of my .htaccess looks like this: And it's generating the following responses: - - - I can tell by looking at my pattern that probl...

How to remove ASP.Net MVC Default HTTP Headers?

How to remove ASP.Net MVC Default HTTP Headers? Each page in an MVC application I'm working with sets these HTTP headers in responses: How do I prevent these from showing?

25 May at 21:47

request.GetResponse() gives a ProtocolViolationException when header last-modified contains "Fri, 20 Nov 2009 15:53:16 E. Australia Standard Time"

request.GetResponse() gives a ProtocolViolationException when header last-modified contains "Fri, 20 Nov 2009 15:53:16 E. Australia Standard Time" Q1 - Is this a bug in .net, or is the webserver I'm u...

Why do I get "Cannot redirect after HTTP headers have been sent" when I call Response.Redirect()?

Why do I get "Cannot redirect after HTTP headers have been sent" when I call Response.Redirect()? When I call `Response.Redirect(someUrl)` I get the following HttpException: > Cannot redirect after HT...

What HTTP traffic monitor would you recommend for Windows?

What HTTP traffic monitor would you recommend for Windows? I need the sniffer to test network traffic of applications developed by me for Windows and Facebook. Basic requirements: - - - Now I'm using ...

25 Jun at 18:12

curl -GET and -X GET

curl -GET and -X GET Curl offers a series of different http method calls that are prefixed with a X, but also offers the same methods without. I've tried both and I can't seem to figure out the differ...

28 Dec at 17:24

Making POST request to web serivce

Making POST request to web serivce Simply put, I need to make a POST request to a web service using a php script. The problem is that the php version on the server is 4.4.x and curl is disabled. Any i...

23 Dec at 18:45

does urllib2 support preemptive authentication authentication?

does urllib2 support preemptive authentication authentication? I am trying access a REST API. I can get it working in Curl/REST Client (the UI tool), with preemptive authentication enabled. But, using...

7 Jan at 17:52

How do you Programmatically Download a Webpage in Java

How do you Programmatically Download a Webpage in Java I would like to be able to fetch a web page's html and save it to a `String`, so I can do some processing on it. Also, how could I handle various...

31 Dec at 17:18

Is it worth from a browser's performance perspective to compress http responses?

Is it worth from a browser's performance perspective to compress http responses? The browser is probably closer to be CPU-constraint than network constraint, right? We have a very heavy ajax applicati...

26 Feb at 09:20

Create a simple HTTP server with Java?

Create a simple HTTP server with Java? What's the easiest way to create a simple HTTP server with Java? Are there any libraries in commons to facilitate this? I only need to respond to `GET/POST`, and...

26 Apr at 22:14

Unable to locate FromStream in Image class

Unable to locate FromStream in Image class I have the following code: On the last line when I type in `Image.`, `FromStream`

22 Jun at 02:7

What is the difference between server side cookie and client side cookie?

What is the difference between server side cookie and client side cookie? What is the difference between creating cookies on the server and on the client? Are these called server side cookies and clie...

11 Sep at 16:3

Sending Files using HTTP POST in c#

Sending Files using HTTP POST in c# I have a small C# web application.How can I get the c# code that allows user to send files by HTTP POST.It should be able to send text files,image files,excel, csv,...

1 Apr at 06:49

RestSharp - How do I get the numerical http response code?

RestSharp - How do I get the numerical http response code? I'm using the [RestSharp](http://restsharp.org/) HTTP client library for C#. How I would retrieve the actual numerical http response code? N...

10 Jun at 19:44

Where can I find the default timeout settings for all browsers?

Where can I find the default timeout settings for all browsers? I'm looking for some kind of documentation that specifies how much time each browser (IE6/IE7/FF2/FF3, etc) will wait on a request befor...

23 Mar at 16:54

Authenticated HTTP proxy with Java

Authenticated HTTP proxy with Java How can I configure the username and password to authenticate a http proxy server using Java? I just found the following configuration parameters: But, my proxy serv...

6 Oct at 13:55

How can I use an http proxy with node.js http.Client?

How can I use an http proxy with node.js http.Client? I want to make an outgoing HTTP call from node.js, using the standard `http.Client`. But I cannot reach the remote server directly from my network...

5 Oct at 10:32

Why is the scheme required for AuthenticationHeaderValue?

Why is the scheme required for AuthenticationHeaderValue? I am setting the authorization header of an `HttpClient` in the following manner: ...but am getting the exception: > "scheme" of the Authentic...

How do I resolve a HTTP 414 "Request URI too long" error?

How do I resolve a HTTP 414 "Request URI too long" error? I have developed a PHP web app. I am giving an option to the user to update multiple issues on one go. In doing so, sometimes the user is enco...

23 May at 11:56

Is it considered bad practice to perform HTTP POST without entity body?

Is it considered bad practice to perform HTTP POST without entity body? I need to invoke a process which doesn't require any input from the user, just a trigger. I plan to use POST /uri without a body...

24 Jan at 03:31

How to process POST data in Node.js?

How to process POST data in Node.js? How do you extract form data (`form[method="post"]`) and file uploads sent from the HTTP `POST` method in [Node.js](http://en.wikipedia.org/wiki/Node.js)? I've rea...

3 Jan at 22:4

How to clone a HttpRequestMessage when the original request has Content?

How to clone a HttpRequestMessage when the original request has Content? I'm trying to clone a request using the method outlined in this answer: [https://stackoverflow.com/a/18014515/406322](https://s...

23 May at 11:46