class Async::HTTP::Protocol::HTTP11
def write_fixed_length_body(body, length)
def write_fixed_length_body(body, length) write_persistent_header @stream.write("content-length: #{length}\r\n\r\n") body.each do |chunk| @stream.write(chunk) end @stream.flush end