class Async::HTTP::Protocol::HTTP11
def read_body(headers)
def read_body(headers) if headers['transfer-encoding'] == 'chunked' return ChunkedBody.new(self) elsif content_length = headers['content-length'] return FixedBody.new(Integer(content_length), @stream) end end