    # File lib/chef/rest.rb, line 336
        def follow_redirect
          raise Chef::Exceptions::RedirectLimitExceeded if @redirects_followed >= redirect_limit
          @redirects_followed += 1
          Chef::Log.debug("Following redirect #{@redirects_followed}/#{redirect_limit}")
          if @sign_on_redirect
            yield
          else
            @sign_request = false
            yield
          end
        ensure
          @redirects_followed = 0
          @sign_request = true
        end