The following table includes a few examples of response headers. For an extensive list of response headers, see List of HTTP header fields.
Response header | Description | Example |
---|---|---|
Connection |
Control options for the current connection and list of hop-by-hop request fields.[8] Must not be used with HTTP/2.[9] | Connection : Keep-Alive |
Content-Type |
Specifies the format of the content that is returned by the server. If there are multiple formats that could be accepted in the client request (using the Accept header), the server chooses the appropriate supported format. | Content-Type: application/json; odata.metadata=minimal |
Keep-alive | The timeout header parameter indicates the time that a connection will be allowed to remain idle before it is closed. The max header parameter indicates the maximum number of requests that will be permitted before the connection is closed. | Timeout=5; max=150 |
Content-length | The length of the request body in octets (8-bit bytes). | Content-Length: 348 |
date | The date and time that the message was originated (in "HTTP-date" format as defined by RFC 7231 Date/Time Formats). | date: Thu, 02 Apr 2009 11:11:28 GMT |
Odata-version | What version of Odata that is used. | Odata: 4.0 |
Location | Used in redirection, or when a new resource has been created. | Location: <BASE_URI>/SessionService/Sessions('3204bb9d-409d-4bd9-8a5f-d44005c81a2c')<BASE_URI>/SessionService/Sessions('3204bb9d-409d-4bd9-8a5f-d44005c81a2c') |
Server | A name for the server | Server: Apache |
x-frame-options | Clickjacking protection: deny - no rendering within a frame, sameorigin - no rendering if origin mismatch, allow-from - allow from specified location, allowall - non-standard, allow from any location | DENY |