Trailer

The HTTP Trailer response header is used to grant permission to the client to include additional metadata at the end of a chunked message.

Usage

The HTTP Trailer header is used to allow clients to append certain HTTP headers to the end of a chunked message. It has a single directive, which is the list of HTTP header names that will be included.

Not Allowed

Several HTTP header fields cannot be used as part of the HTTP Trailer header, including:

Note

To use the HTTP Trailer response header, the HTTP TE header needs to be set to allow trailers.

Takeaway

The HTTP Trailer header is used to inform the client that it is allowed to append HTTP headers at the end of the message to include metadata such as a digital signature.

See also

Last updated: June 2, 2022