How To Respond To HTTP HEAD Request From PHP

How To Respond To HTTP HEAD Request From PHP

Note: This article will be emailed to your friend.

Most (well written) PHP programs recognize GET from POST requests and handle them appropriate. However most of them are not aware of HEAD requests and handle them identical to GET. This is a waste of resources and is in contravention to HTTP 1.1 protocol (RFC 2616).

The HEAD method is identical to GET except that the [...]

Read the rest of this article (161 words)

Please fill in the following fields

* - Required

Your Name: *

Your E-Mail: *

Your Remarks:

Friend's Name: *

Friend's E-Mail: *

Protected by Comment Guard Pro