class Protocol::HTTP::Headers::Merged
Used for merging objects into a sequential list of headers. Normalizes header keys and values.
def << headers
def << headers @all << headers return self end
def each(&block)
- Yield: - header key (lower case) and value (as string).
def each(&block) @all.each do |headers| headers.each do |key, value| yield key.downcase, value.to_s end end end
def initialize(*all)
def initialize(*all) @all = all end