lib/httpx/transcoder/chunker.rb in httpx-0.13.2 vs lib/httpx/transcoder/chunker.rb in httpx-0.14.0
- old
+ new
@@ -18,10 +18,10 @@
return enum_for(__method__) unless block_given?
@raw.each do |chunk|
yield "#{chunk.bytesize.to_s(16)}#{CRLF}#{chunk}#{CRLF}"
end
- yield "0#{CRLF}#{CRLF}"
+ yield "0#{CRLF}"
end
def respond_to_missing?(meth, *args)
@raw.respond_to?(meth, *args) || super
end