Protocol::HTTPSourceProtocolHTTPHeaderGeneric

class Generic

Represents generic or custom headers that can be used in trailers.

This class is used as the default policy for headers not explicitly defined in the POLICY hash.

It allows generic headers to be used in HTTP trailers, which is important for:

Definitions

def self.trailer?

Whether this header is acceptable in HTTP trailers. Generic headers are allowed in trailers by default to support extensibility.

Signature

returns Boolean

true, generic headers are allowed in trailers.

Implementation

def self.trailer?
	true
end