lib/http/protocol/http1/connection.rb in http-protocol-0.12.0 vs lib/http/protocol/http1/connection.rb in http-protocol-0.12.1

- old
+ new

@@ -356,10 +356,10 @@ # it is closed by the server. If a Transfer-Encoding header field # is present in a request and the chunked transfer coding is not # the final encoding, the message body length cannot be determined # reliably; the server MUST respond with the 400 (Bad Request) # status code and then close the connection. - return read_body_remainder + return read_remainder_body end end # 5. If a valid Content-Length header field is present without # Transfer-Encoding, its decimal value defines the expected message