# File lib/rack/test.rb, line 183
      def follow_redirect!
        unless last_response.redirect?
          raise Error.new("Last response was not a redirect. Cannot follow_redirect!")
        end
        if last_response.status == 307
          send(last_request.request_method.downcase.to_sym, last_response["Location"], last_request.params, { "HTTP_REFERER" => last_request.url })
        else
          get(last_response["Location"], {}, { "HTTP_REFERER" => last_request.url })
        end
      end