fnando/browser — pull request #66 by niallsmart (2013-11-28 18:21:15+00:00)
Title: Use HTTP 302 for redirect, as IE permanently caches HTTP 301

The `redirect` feature of `Browser::Middleware` is intended for redirecting specific browser versions to an appropriate destination (e.g., a "browser not supported" page, or a reduced functionality app).

The current implementation sends a HTTP 301 redirect, which IE will permanently cache. This is problematic because if the redirect is changed or removed, any IE clients who have seen the redirect will not see the update.

This problem is compounded by the lack of IE11 support in the current release (all of our IE11 clients who were improperly directed to our "browser not supported" page will remember the redirect until the users manually clears their cache)