HTTP Headers
Next ❯Ajax Reference
Some well known pre-defined headers, you can also have your own custom headers as per your own use
| Headers | Description |
|---|---|
| Accept | Informs the server about the types of data that can be sent back |
| Accept-Encoding | Informs the server about the encoding algorithm, that can be used on the resource sent back |
| Accept-Language | Informs the server about the language the server is expected to send back |
| Accept-Ranges | Specifies the range unit-type of the resource |
| Access-Control-Allow-Credentials | Specifies whether the response to the request can be exposed when the credentials flag is true |
| Access-Control-Allow-Headers | Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request |
| Access-Control-Allow-Origin | Specifies whether the response can be shared or not |
| Authorization | Contains the credentials to authenticate a user agent with a server |
| Cache-Control | Controls whether the network connection stays open after the current transaction finishes |
| Connection | Controls whether the network connection stays open after the current transaction finishes |
| Content-Encoding | Specifies the compression algorithm |
| Content-Language | Specifies the content language |
| Content-Length | Specifies the content size, sent to the recipient |
| Content-Range | Specifies the content range of the resource |
| Content-Type | Specifies the media-type of the resource |
| Cookie | Specifies the stored HTTP cookies previously sent by the server with the Set-Cookie header |
| Date | Specifies the date and time at which the message was originated |
| DNT | Specifies the user's tracking preference |
| ETag | It is a validator, a unique string identifying the version of the resource |
| Expires | The date/time after which the response is considered stale |
| Host | Specifies the domain name of the server |
| Keep-Alive | Controls how long a persistent connection should stay open |
| Last-Modified | It is a validator, the last modification date of the resource, used to compare several versions of the same resource |
| Location | Specifies the URL to which a page to redirect |
| Range | Specifies the part of a document that the server should return |
| Referer | Specifies the address of the previous web page from which a link to the currently requested page was followed |
| Server | Specifies the information about server software which is handling the requests |
| Set-Cookie | Send cookies from the server to client |
| Strict-Transport-Security | To force the communication using HTTPS instead of HTTP |
| Transfer-Encoding | Specifies the form of encoding used to safely transfer the entity to the user |
| User-Agent | Specifies the requesting software/browser details to identify the application type, operating system and other more informations |
| WWW-Authenticate | Specifies the authentication method that should be used to gain access to a resource |
| X-Content-Type-Options | Disables MIME sniffing and forces browser to use the type given in Content-Type |
| X-Frame-Option | Specifies whether a browser should be allowed to open a page in a <iframe>, <embed> or <object> |
| X-XSS-Protection | Enables cross-site scripting filtering |
❮ Prev HTTP Message & Codes
Next ❯Ajax Reference






So,