lib/protocol/http1/body/chunked.rb in protocol-http1-0.15.1 vs lib/protocol/http1/body/chunked.rb in protocol-http1-0.16.0
- old
+ new
@@ -39,10 +39,10 @@
# Follows the procedure outlined in https://tools.ietf.org/html/rfc7230#section-4.1.3
def read
return nil if @finished
- length, extensions = read_line.split(";", 2)
+ length, _extensions = read_line.split(";", 2)
unless length =~ VALID_CHUNK_LENGTH
raise BadRequest, "Invalid chunk length: #{length.dump}"
end