View on GitHub

Bearded-android-docs

HttpMethods

Download this project as a .zip file Download this project as a tar.gz file

Created Saturday 09 November 2013

The HEAD Method

A HEAD request is just like a GET request, except it asks the server to return the response headers only, and not the actual resource (i.e. no message body). This is useful to check characteristics of a resource without actually downloading it, thus saving bandwidth. Use HEAD when you don't actually need a file's contents.

The response to a HEAD request must never contain a message body, just the status line and headers.

The POST Method

POST request is used to send data to the server to be processed in some way, like by a CGI script. A POST request is different from a GET request in the following ways:


Backlinks:

HttpProtocol
comments powered by Disqus