class Protocol::HTTP::Headers
def trailers!(&block)
def trailers!(&block) return nil unless self.include?(TRAILERS) @tail ||= @fields.size return to_enum(:trailers!) unless block_given? if @tail @fields.drop(@tail).each(&block) end end
def trailers!(&block) return nil unless self.include?(TRAILERS) @tail ||= @fields.size return to_enum(:trailers!) unless block_given? if @tail @fields.drop(@tail).each(&block) end end