HTTP HEAD Method

The HEAD method is functionally similar to GET, except that the server replies with a response without the body.
Requests using HEAD and GET methods should only retrieve data (server must not change its state). If you want to change data on the server, use POST, PUT or DELETE methods.

The HEAD request may be executed before loading a large resource, to check resource size, validity, accessibility, and recent modification. (would be indicated by Content-Length/Last-Modified headers).

The HEAD requests cannot have a message body. But you still can send data to the server using the URL parameters. In this case, you are limited to the maximum size of the URL, which is about 2000 characters (it depends on the browser).

The following example demonstrates sending a HEAD request to the server:

Sample HEAD Request Run Sample

And the server response:

Server Response Run Sample


To read more about HTTP HEAD method please check RFC2616.

Send HTTP Requests Online