NancyFx/Nancy — pull request #1656 by StephenFriend (2014-08-16 13:58:24+00:00)
Title: BrowserResponseExtensions - extended range of valid HttpStatusCodes

The extension ShouldHaveRedirectedTo only allowed for '303 See Other' in the BrowserResponse Status, which is the default behaviour of the RedirectResponse class. However there are 2 other valid statuses and if you invoked the RedirectResponse directly using either of these, the testing extension method failed, so I extended the check to include those other two statuses.