class Trailer
Represents headers that can contain multiple distinct values separated by commas.
This isn't a specific header class is a utility for handling headers with comma-separated values, such as accept
, cache-control
, and other similar headers. The values are split and stored as an array internally, and serialized back to a comma-separated string when needed.
Definitions
def self.trailer?
Whether this header is acceptable in HTTP trailers.
Signature
-
returns
Boolean
false
, as Trailer headers control trailer processing and must appear before the message body.
Implementation
def self.trailer?
false
end