class Async::HTTP::Protocol::HTTP11
def read_request
def read_request method, path, version = read_line.split(/\s+/, 3) headers = read_headers body = read_body(headers) return headers.delete('host'), method, path, version, headers, body end
def read_request method, path, version = read_line.split(/\s+/, 3) headers = read_headers body = read_body(headers) return headers.delete('host'), method, path, version, headers, body end