    # File lib/rbot/core/utils/httputil.rb, line 132
        def partial_body(size=0, &block)

          partial = String.new

          if @read
            debug "using body() as partial"
            partial = self.body
            yield self.body_to_utf(self.decompress_body(partial)) if block_given?
          else
            debug "disabling cache"
            self.no_cache = true
            self.read_body { |chunk|
              partial << chunk
              yield self.body_to_utf(self.decompress_body(partial)) if block_given?
              break if size and size > 0 and partial.length >= size
            }
          end

          return self.body_to_utf(self.decompress_body(partial))
        end