class Async::HTTP::Protocol::HTTP11
def write_response(version, status, headers, body)
def write_response(version, status, headers, body) @stream.write("#{version} #{status}\r\n") write_headers(headers) write_body(body) @stream.flush return true end