lib/async/http/protocol/http1/connection.rb in async-http-0.40.1 vs lib/async/http/protocol/http1/connection.rb in async-http-0.40.2
- old
+ new
@@ -23,10 +23,11 @@
require_relative 'request'
require_relative 'response'
require_relative '../../body/chunked'
require_relative '../../body/fixed'
+require_relative '../../body/remainder'
module Async
module HTTP
module Protocol
module HTTP1
@@ -82,13 +83,9 @@
Body::Chunked.new(self)
end
def read_fixed_body(length)
Body::Fixed.new(@stream, length)
- end
-
- def read_tunnel_body
- read_remainder_body
end
def read_remainder_body
Body::Remainder.new(@stream)
end