Oct 03, 07
| HTTP Header Name | Header Description | Example HTTP Header |
| Accept | Content-Types that are acceptable | Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 |
| Accept-Charset | Character sets that are acceptable | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| Accept-Encoding | Acceptable encodings | Accept-Encoding: gzip,deflate |
| Accept-Language | Acceptable languages for response | Accept-Language: en-us,en |
| Accept-Ranges | What partial content range types this server supports | Accept-Ranges: bytes |
| Age | The age the object has been in a proxy cache in seconds | Age: 7200 |
| Allow | Valid actions for a specified resource. To be used for a 405 Method not allowed | Allow: GET,HEAD,POST,OPTIONS,TRACE |
| Authorization | Authentication credentials for HTTP authentication | Authorization: Basic UXNrYXBhggRfoopc5NteWFzcw== |
| Cache-Control | Controls how proxies may cache this object | Cache-Control: max-age=7200, public |
| Connection | What type of connection the user-agent would prefer | Connection: Keep-Alive |
| Content-Encoding | The type of encoding used on the data | Content-Encoding: gzip |
| Content-Language | The language the content is in | Content-Language: en-us |
| Content-Length | The length of the content in bytes | Content-Length: 5356 |
| Content-Location | An alternate location for the returned data | Content-Location: /index.html |
| Content-MD5 | An MD5 sum of the content of the response | Content-MD5: 1167b9c13ad2b6d3694493fc47976c8 |
| Content-Range | Where in a full body message this partial message belongs | Content-Range: bytes 110-2034/2035 |
| Content-Type | The mime type of this content | Content-Type: text/html; charset=UTF-8 |
| Date | The date and time that the message was sent | Date: Sat, 05 Jan 2008 09:27:35 GMT |
| Host | The domain name of the server (for virtual hosting) | Host: www.askapache.com |
| If-Modified-Since | Allows a 304 Not Modified to be returned | If-Modified-Since: Sat, 05 Jan 2007 09:26:12 GMT |
| Last-Modified | The last modified date for the requested object | Last-Modified: Sat, 05 Jan 2008 09:26:12 GMT |
| Location | Used in redirection | Location: http://www.askapache.com/ |
| Server | A name for the server | Server: Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2 |
| User-Agent | The user agent string of the user agent | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 |
HTTP_INFO – Request received, continuing process.Indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line.
HTTP_CONTINUEHTTP_SWITCHING_PROTOCOLSHTTP_PROCESSINGHTTP_SUCCESS – The action was successfully received, understood, and accepted.Indicates that the client’s request was successfully received, understood, and accepted.
HTTP_OKHTTP_CREATEDHTTP_ACCEPTEDHTTP_NON_AUTHORITATIVEHTTP_NO_CONTENTHTTP_RESET_CONTENTHTTP_PARTIAL_CONTENTHTTP_MULTI_STATUSHTTP_REDIRECT – The client must take additional action to complete the request.Indicates that further action needs to be taken by the user-agent in order to fulfill the request. The action required may be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD. A user agent should not automatically redirect a request more than 5 times, since such redirections usually indicate an infinite loop.
HTTP_MULTIPLE_CHOICESHTTP_MOVED_PERMANENTLYHTTP_MOVED_TEMPORARILYHTTP_SEE_OTHERHTTP_NOT_MODIFIEDHTTP_USE_PROXYUNUSEDHTTP_TEMPORARY_REDIRECTHTTP_CLIENT_ERROR – The request contains bad syntax or cannot be fulfilled.Indicates case where client seems to have erred. Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition.
HTTP_BAD_REQUESTHTTP_UNAUTHORIZEDHTTP_PAYMENT_REQUIREDHTTP_FORBIDDENHTTP_NOT_FOUNDHTTP_METHOD_NOT_ALLOWEDHTTP_NOT_ACCEPTABLEHTTP_PROXY_AUTHENTICATION_REQUIREDHTTP_REQUEST_TIME_OUTHTTP_CONFLICTHTTP_GONEHTTP_LENGTH_REQUIREDHTTP_PRECONDITION_FAILEDHTTP_REQUEST_ENTITY_TOO_LARGEHTTP_REQUEST_URI_TOO_LARGEHTTP_UNSUPPORTED_MEDIA_TYPEHTTP_RANGE_NOT_SATISFIABLEHTTP_EXPECTATION_FAILEDUNUSEDUNUSEDUNUSEDUNUSEDHTTP_UNPROCESSABLE_ENTITYHTTP_LOCKEDHTTP_FAILED_DEPENDENCYHTTP_NO_CODEHTTP_UPGRADE_REQUIREDHTTP_SERVER_ERROR – The server failed to fulfill an apparently valid request.Indicate cases in which the server is aware that it has erred or is incapable of performing the request. Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. User agents should display any included entity to the user. These response codes are applicable to any request method.
HTTP_INTERNAL_SERVER_ERRORHTTP_NOT_IMPLEMENTEDHTTP_BAD_GATEWAYHTTP_SERVICE_UNAVAILABLEHTTP_GATEWAY_TIME_OUTHTTP_VERSION_NOT_SUPPORTEDHTTP_VARIANT_ALSO_VARIESHTTP_INSUFFICIENT_STORAGEUNUSEDUNUSEDHTTP_NOT_EXTENDEDPlease consider donating to support active development of the free software and articles here.![]()
The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. Tim Berners-Lee
It's very simple - you read the protocol and write the code. -Bill Joy
HTML | DCMI | GRDDL | XOXO | XDMP | XFN | DOM | XML | XHTML 1.1 Strict | CSS 2.1 | W3C | TLDP | WAI | DISA | ICSI | GIAC | SANS RR | GHOST | DEFCON | NIST | DHS CYBER | NIST
↑ TOPExcept where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. HTTPD based on NCSA HTTPd