class Protocol::HTTP::Headers
def trailer!(&block)
@yields block {|name, value| ...} The trailer headers if any.
@parameter names [Array] The trailer header names which will be added later.
that message to indicate which fields might be present in the trailers.
message should generate a trailer header field in the header section of
A sender that intends to generate one or more trailer fields in a
additional headers which should then be sent as trailers.
This method is typically used after headers are sent to capture any
Record the current headers, and prepare to add trailers.
def trailer!(&block) @tail ||= @fields.size return trailer(&block) end