# File lib/rack/protection/cookie_tossing.rb, line 49 def redirect(env) request = Request.new(env) warn env, "attack prevented by #{self.class}" [302, {'Content-Type' => 'text/html', 'Location' => request.path}, []] end