lib/protocol/http/response.rb in protocol-http-0.16.3 vs lib/protocol/http/response.rb in protocol-http-0.17.0

- old
+ new

@@ -88,9 +88,10 @@ @status == 500 end def self.[](status, headers = [], body = nil, protocol = nil) body = Body::Buffered.wrap(body) + headers = ::Protocol::HTTP::Headers[headers] self.new(nil, status, headers, body, protocol) end def self.for_exception(exception)