    # File lib/facets/more/httpaccess.rb, line 185
      def proxy=(proxy)
        if proxy.nil?
          @proxy = nil
        else
          if proxy.is_a?(URI)
            @proxy = proxy
          else
            @proxy = URI.parse(proxy)
          end
          if @proxy.scheme == nil or @proxy.scheme.downcase != 'http' or
              @proxy.host == nil or @proxy.port == nil
            raise ArgumentError.new("unsupported proxy `#{proxy}'")
          end
        end
        reset_all
        @proxy
      end