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