The HTTP Trailer header is a response header that indicates the given set of header fields is present in the trailer of a message encoded with chunked transfer-coding and allows the sender to include additional fields at the end of chunked messages in order to supply metadata.
- header-names: It is a set of header fields that are present in the trailer of a message encoded with chunked transfer-coding.
- In this example, the header that is being used is Max-Forwards which is a request modifier.
- In this example the header that is being used is the Host header which is a routing header.
- In this example Trailer header with a large amount of data from a database query, which is a chunked response. The Expires header is used in this example.
HTTP/1.0 200 OK Content-Type: text/plain Transfer-Encoding: chunked Trailer: Expires 0\r\n Mozilla\r\n 7\r\n Developer\r\n 9\r\n Network\r\n 0\r\n \r\n
Supported Browsers: The browsers compatible with HTTP Trailer header are listed below:
- Google Chrome
- Internet Explorer
- HTTP headers | Access-Control-Expose-Headers
- HTTP headers | Access-Control-Request-Headers
- HTTP headers | Access-Control-Allow-Headers.
- HTTP Headers | TE
- HTTP headers | Age
- HTTP headers | Via
- HTTP headers | Allow
- HTTP headers
- HTTP headers | Digest
- HTTP headers | If-Unmodified-Since
- HTTP headers | SourceMap
- HTTP headers | Expect-CT
- HTTP headers | Expect
- HTTP headers | Range
- HTTP headers | Set-Cookie
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.