# File lib/webmock/http_lib_adapters/http_rb/streamer.rb, line 8
      def readpartial(size = nil)
        unless size
          if defined?(HTTP::Client::BUFFER_SIZE)
            size = HTTP::Client::BUFFER_SIZE
          elsif defined?(HTTP::Connection::BUFFER_SIZE)
            size = HTTP::Connection::BUFFER_SIZE
          end
        end

        @io.read size
      end