lib/http/protocol/http1/connection.rb in http-protocol-0.9.2 vs lib/http/protocol/http1/connection.rb in http-protocol-0.9.3

- old
+ new

@@ -204,10 +204,11 @@ end def write_empty_body(body) @stream.write("content-length: 0\r\n\r\n") - body.read if body + # Consume the input body. + body.each{} if body @stream.flush end def write_fixed_length_body(body, length)