lib/async/http/protocol/http1/response.rb in async-http-0.43.0 vs lib/async/http/protocol/http1/response.rb in async-http-0.43.1
- old
+ new
@@ -29,9 +29,10 @@
if parts = connection.read_response(request.method)
self.new(connection, *parts)
end
end
+ # @param reason [String] HTTP response line reason, ignored.
def initialize(connection, version, status, reason, headers, body)
@connection = connection
protocol = connection.upgrade?(headers)