class Async::HTTP::Protocol::HTTP10
def read_body(headers)
def read_body(headers) if content_length = headers[HTTP_CONTENT_LENGTH] return @stream.read(Integer(content_length)) # elsif !keep_alive?(headers) # return @stream.read end end
def read_body(headers) if content_length = headers[HTTP_CONTENT_LENGTH] return @stream.read(Integer(content_length)) # elsif !keep_alive?(headers) # return @stream.read end end