HTTP (Hypertext Transfer Protocol) is the protocol most commonly used to transfer information around the World Wide Web.

learn more… | top users | synonyms

1557
votes
6answers
1.6m views

What is the cURL command-line syntax to do a POST request?

How can I make a POST request with the cURL command-line tool?
232
votes
10answers
251k views

Getting curl to output HTTP status code?

I'm using curl at the command line on Linux to issue HTTP requests. The response bodies are printed to standard out, which is fine, but I can't see from the man page how to get curl to print the ...
169
votes
15answers
211k views

Looking for HTTP debugging proxy for Mac similar to Fiddler on Windows [closed]

In previous jobs when I've worked on a Windows machine, I've used Fiddler for viewing HTTP transactions and debugging. I'm specifically looking to monitor the HTTP transactions for an ajax site I'm ...
59
votes
4answers
6k views

How do web servers know whether you're using direct IP address access?

Some web servers, when accessed using their IP address, return an error that direct IP address access is not allowed. I've been wondering for some time how this works. I mean, doesn't the browser ...
54
votes
10answers
67k views

Extremely simple web server for Windows? [closed]

A few years ago I used a super simple free web server for Windows. The only thing you had to do was copy an exe to a dir, double-click that exe, and - voilá - that dir was now accessible over HTTP. ...
44
votes
6answers
25k views

Firefox quickly forget HTTP Basic Auth

How can I make Firefox "invalidate" it's saved HTTP Basic Auth credentials for a website from the client side? Currently, I have to restart the browser, which is rather cumbersome with multiple tabs ...
35
votes
5answers
19k views

wget HEAD request?

I'd like to send HTTP HEAD request using wget, is it possible?
30
votes
4answers
5k views

Difference between pinging with and without http://

I am trying to ping my website http://www.example.com/ and it resolves to an unknown IP address and times out. PING http://www.example.com/ (198.105.254.228): 56 data bytes Request timeout for ...
29
votes
6answers
28k views

Convert HTTP requests to SOCKS5

I'm currently doing some testing work with TOR and ran in to a small problem. Tor's client only supports receiving connections through a SOCKS5 protocol, but the applications I'm using only support ...
27
votes
3answers
69k views

Can I detect what webserver a website is using? [closed]

Is there any program or command that I can use to detect what webserver a website is using? With webserver I mean in software i.e. IIS 6, Apache or nginx.
26
votes
5answers
40k views

How can I do a HTTP PUT with Wget?

I am trying to use Wget to access a RESTful interface, but I can not figure out how to do HTTP PUT with Wget. How can I do it? Or isn't it prossible?
25
votes
3answers
45k views

How to track url redirects in the browser?

When I type http://example.com/load/ in my browser and press ENTER, this website redirects me to http://example.com/load/1/, from there to http://example.com/load/2/ and then I finally landed on http:/...
25
votes
2answers
6k views

What is vegur appearing in HTTP headers?

On some websites there are the following headers which consist vegur, e.g. Via: 1.1 vegur In here (check the headers) and also in that post. I've tried to look for it, but I couldn't find it. Is ...
20
votes
3answers
36k views

Freeware local proxy engine for Windows? [closed]

Is there a nice and small, freeware proxy application that runs in the system tray? It should support HTTP and HTTPS proxy connections, NTLM authentication and configurable rules (different proxy ...
19
votes
7answers
2k views

Does the meaning of the term WWW mean it has to be performed by HTTP servers- by definition? [closed]

The following is a question regarding correct terminology. Could the World Wide Web exist without HTTP? Is there any other application layer protocol that can serve WWW pages? Is HTTP an essential ...
19
votes
7answers
20k views

Which lightweight HTTP or FTP Server is good for simple file transfer? [closed]

This question is a followup to How to copy files to an untrusted computer?, as there doesn't seem to be a dedicated app for this purpose, I am now searching for a http or ftp server as an alternative. ...
18
votes
2answers
5k views

Why does the percent sign in a URL cause an HTTP 400 Bad Request error?

I stumbled upon this by accident when mistyping the URL for a web page in my web browser. Why does visiting http://example.com/% cause an HTTP 400 Bad Request error to be thrown? Is the server ...
18
votes
3answers
51k views

Can you get a reply from a HTTPS site using the Ping command?

I tried using the ping command on a https page, but the message says that ping could not find the host. Is there some issue regarding ping and https?
18
votes
3answers
18k views

How can I run ALL http request through Charles Web Debugging Proxy - including command line ones?

I'm using the Charles Web Debugging Proxy software to debug HTTP requests. It works great with my desktop browsers, Chrome and Firefox, and it even sees HTTP requests that other programs make. When I ...
18
votes
4answers
6k views

Storing a HTTP POST request in a bookmark or something similar as you would with a GET request

You can store a bookmark with a GET request like this: http://url.com/service?variable=value Can you store a POST request in some way in Chrome? Maybe with a plugin? Or maybe in Firefox? The idea ...
18
votes
2answers
916 views

How does http://to./ work?

So I noticed this on Jeff's twitter. They don't have a tld, it seems? How've they done this? Magic, bribery, or did a no-tld tld open up recently?
17
votes
2answers
2k views

If you block all incoming connections, how can you still use the internet?

If your ISP or firewall is blocking all incoming connections, how can web servers still send you data to your browser? You send the request (outgoing) and server sends data (incoming). If you block ...
17
votes
5answers
49k views

Download a file via HTTP from a script in Windows

I want a way to download a file via HTTP given its URL (similar to how wget works). I have seen the answers to this question, but I have two changes to the requirements: I would like it to run on ...
17
votes
5answers
6k views

How to go to a website on a shared server by its ip address?

I have a few questions, please help: Fist, I can access Google search just by typing http://74.125.224.211, because this is the IP address returned by nslookup. However, I could not do so with the ...
17
votes
9answers
6k views

How to save a bookmark in Firefox with POST data?

I would like to save as a Firefox bookmark a page which is not accessible using GET. The only way to retrieve the page is to send some POST data. For example, I would like to bookmark a Chronopost ...
17
votes
4answers
51k views

How can I monitor all the outgoing HTTP requests from my PC?

I'm running Windows Vista home premium. I want to see all outgoing HTTP requests from my PC along with the URL. Is there any free tool for this?
14
votes
3answers
4k views

How to setup a work -> home -> internet http tunneling service

I want to know which program is recommended in order to setup such as scenario, i.e. accessing the Internet from work or other places where traffic is monitored by installing a HTTP tunneling service ...
13
votes
2answers
41k views

Linux command line tool for uploading files over HTTP as multipart/form-data?

I can see that wget has a --post-file option, but the manpage says "Wget does not currently support multipart/form-data for transmitting POST data; only application/x-www-form-urlencoded. Only one of ‘...
13
votes
2answers
12k views

http get from the shell in Mac OS X

I'd like to download a link like: http://example.org/file.mp3 Now, I'm enough of a shell junkie to know what SCP does, but that's about where my geek-dom ends. So is there a shell program that lets ...
12
votes
2answers
6k views

Do browsers create new TCP connections for each HTTP requests?

So I know that HTTP is basically just a text protocol over TCP, and that TCP is state / connection based. That means that the browser has to connect over TCP to a server before doing an HTTP request. ...
12
votes
5answers
16k views

How can I make wget rename downloaded files to not include the query string?

I'm downloading a site with wget and a lot of the links have queries attached to them, so when I do this: wget -nv -c -r -H -A mp3 -nd http://url.to.old.podcasts.com/ I end up with a lot of files ...
12
votes
2answers
4k views

How to relax Content Security Policy in Chrome?

Lately, some websites such as Facebook use the Content Security Policy (CSP) to restrict loading of scripts from "untrusted sources". For example, when requesting Facebook HTML content (e.g. https://...
11
votes
4answers
608 views

Large delay when fetching a page from a particular site

I have the following problem: when I retrieve a page from Hackage, I get a large delay (about 30 seconds). Further requests are fast, but if I don't connect to it during a couple of minutes, the ...
10
votes
11answers
21k views

How to download torrents from the office? [closed]

I have torrents blocked in my office. Was wondering whether there are any sites which allow to download torrents to their server so that we can download them via HTTP. If I have my home system ...
10
votes
2answers
4k views

Why is “It works!” showing up at my http://127.0.0.1 (localhost)?

So, I was playing around with Java sockets, servers and streams, the other day, and I decided, purely out of curiosity, expecting no good results, to open Google Chrome and navigate to 127.0.0.1, and ...
10
votes
4answers
6k views

How is a subdomain passed to the webserver?

I know that dns resolves an address like example.com to an IP address like 11.22.33.44, but I'm a little confused about how subdomains are resolved, so that when you type http://subdomain.example.com, ...
10
votes
3answers
3k views

Simple Linux tool for timing an http request in milliseconds

I'm looking for a simple tool or built-in command that will allow me to measure with millisecond accuracy the time it takes to fetch a remote web page from a given URL.
10
votes
2answers
2k views

Is it possible to get corrupted download with http?

For a long time I have assumed that it is not really possible to download a corrupted file via http as long as it's not corrupted on the server and the implementation of http protocol is correct, ...
8
votes
4answers
5k views

Force a browser to load the 'https' edition of a website, not the 'http'?

This is similar to this previous question, but I believe it's a bit different*. Sites like GMail support a preference that pushes all traffic through the SSL edition of the site rather than the plain-...
8
votes
3answers
13k views

For file transfer, does ftp perform better than http?

When I have http as well as ftp options (like the Hadoop download page), should I prefer ftp? I have tried ftp before and did not notice any significant difference. Is it supposed to perform better?
8
votes
2answers
1k views

How do Pause-able downloads work?

I use Internet Download Manager (IDM) for downloading data, and I have noticed that in it's download progress window, it shows whether or not a download is pause-able (resume-able). Typically, file-...
8
votes
1answer
13k views

How do I determine which application is using port 8080? [duplicate]

Possible Duplicate: Finding the process that is using a certain port in linux I have an Ubuntu Server setup, where I'm trying to set up a daemon that wants to have access to port 8080. When I ...
8
votes
1answer
12k views

Why a listen 443 default_server; nginx rule override already configured rule (http rules working normal way)?

I have an nginx and different subdomains: a.mydomain.com b.mydomain.com c.mydomain.com Nginx has 4 rules: 1) rewrite rule: server { listen 80 server_name gl.udesk.org; root /nowhere; ...
7
votes
5answers
2k views

How does a server get notified about the HTTP request?

I have a basic understanding of how HTTP works. I understand the client (web browser) makes a request and server responds back to the request. However, the thing I don't understand is how does a web ...
7
votes
5answers
8k views

How can I find out which process is listening on a port on linux? [duplicate]

Possible Duplicate: Finding the process that is using a certain port in Linux How can I find out which process is listening on a port on linux?
7
votes
2answers
12k views

Feeding contents of a text file as command to telnet

With the command telnet docs.python.org 80, I can do a manual HTTP request to http://docs.python.org/2/license.html, by typing the actual request. Now, instead of typing it in live, I'd like to feed ...
7
votes
2answers
5k views

Capture virtual machine traffic in Fiddler

I'm running Ubuntu in a virtual machine (host machine is Windows 7). Is it possible to use Fiddler in the host machine to capture the traffic from the virtual machine? Seeing as the virtual machine's ...
7
votes
3answers
6k views

Manual HTTP(S) request

I am looking for a tool (possibly on Linux) that will allow me to make a manual HTTP or HTTPS request. By manual, I really mean it: I should be able to feed it a text file which looks like POST /foo ...
7
votes
6answers
3k views

Lightweight tool for viewing raw HTTP messages?

I'm investigating differences in behaviour between a couple of Web servers. I need to see raw response data from the servers (i.e. before the response is de-chunked if it has "Transfer-Encoding:...
7
votes
2answers
9k views

Send a custom HTTP header to one certain host only

Is there a way (Firefox add-on or about:config setting) to send a custom HTTP header for requests to a certain host? Example: Send the header Foobar: true if (and only if) I request a resource from ...