With PHP, you can set the HTTP version and the HTTP status of the content you are serving. This is mostly useful in API scenarios where the client behaves accordingly to an HTTP status instead of a HTTP body and can therefore do HEAD requests to perform pings or micro queries.
A useful list of HTTP status codes from Wikipedia
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.