Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add HTTP 307 & 308 redirects #2648
HTTP 301 Moved Permanently is widely support, but converts POST requests to GET, supported since forever
Then there's the new ones.
HTTP 307 Temporary Redirect is like 302 or 303 'temporary redirect', except it preserves POST and postdata associated with the request. (isn't that cool!) It was defined in 1999, but I don't know what browsers support it. (IE7+?)
Note: Browsers that do not support the given status will display the response body that the server sends. This can be used by developers to a) suggest upgrading the browser, and b) explain that the site has moved.