class HTTP::Response::Body

def readpartial(*args)

(see HTTP::Client#readpartial)
def readpartial(*args)
  stream!
  chunk = @stream.readpartial(*args)
  chunk.force_encoding(@encoding) if chunk
end