proxy= (HTTPClient)

    # File lib/httpclient.rb, line 386
      def proxy=(proxy)
        if proxy.nil?
          @proxy = nil
          @proxy_auth.reset_challenge
        else
          @proxy = urify(proxy)
          if @proxy.scheme == nil or @proxy.scheme.downcase != 'http' or
              @proxy.host == nil or @proxy.port == nil
            raise ArgumentError.new("unsupported proxy #{proxy}")
          end
          @proxy_auth.reset_challenge
          if @proxy.user || @proxy.password
            @proxy_auth.set_auth(@proxy.user, @proxy.password)
          end
        end
        reset_all
        @session_manager.proxy = @proxy
        @proxy
      end