Why does RedirectToAction()
return an HTTP 301 in Chrome and 302 in incognito mode?
Isn't it meant to always return 302?
I tested RedirectToActionPermanent()
and it returns 301 in normal and incognito mode as expected.
Why does RedirectToAction()
return an HTTP 301 in Chrome and 302 in incognito mode?
Isn't it meant to always return 302?
I tested RedirectToActionPermanent()
and it returns 301 in normal and incognito mode as expected.