class Async::HTTP::Protocol::HTTP1::Response

def initialize(connection, version, status, reason, headers, body)

@parameter reason [String] HTTP response line reason phrase.
def initialize(connection, version, status, reason, headers, body)
	@connection = connection
	@reason = reason
	
	# Technically, there should never be more than one value for the upgrade header, but we'll just take the first one to avoid complexity.
	protocol = headers.delete(UPGRADE)&.first
	
	super(version, status, headers, body, protocol)
end