class Async::HTTP::Protocol::HTTP2::Response

def receive_headers(stream, headers, end_stream)

def receive_headers(stream, headers, end_stream)
	headers.each do |key, value|
		if key == STATUS
			@status = value.to_i
		elsif key == REASON
			@reason = value
		else
			@headers[key] = value
		end
	end
	
	unless end_stream
		@body = @input = Body::Writable.new
	end
	
	# We are ready for processing:
	@notification.signal
end