lib/protocol/http1/body/chunked.rb in protocol-http1-0.11.0 vs lib/protocol/http1/body/chunked.rb in protocol-http1-0.11.1
- old
+ new
@@ -88,11 +88,9 @@
def read_line
@stream.gets(CRLF, chomp: true)
end
def read_trailers
- @headers.trailers!
-
while line = read_line
# Empty line indicates end of headers:
break if line.empty?
if match = line.match(HEADER)