method
read_body_0
read_body_0(dest)
private
Hide source
# File lib/net/http.rb, line 2213 def read_body_0(dest) if chunked? read_chunked dest return end clen = content_length() if clen @socket.read clen, dest, true # ignore EOF return end clen = range_length() if clen @socket.read clen, dest return end @socket.read_all dest end