3073xx Redirection

Temporary Redirect

The 307 Temporary Redirect HTTP status code is used to indicate that the requested resource has been temporarily moved to a different URI. When a 307 status code is encountered, it implies that the client must follow the redirection but use the original method and body for the subsequent request to the new URI. This is in contrast to some other redirection status codes that might allow or require a change in the request method. The 307 Temporary Redirect ensures that the method and the body of the original request are not altered, which is particularly important for POST requests. This status code is useful when a resource or site is temporarily relocated, perhaps due to maintenance or content updates, and the client interaction model needs to be preserved exactly as is. Unlike the 302 Found status code, which can be interpreted by clients either to change the request method to GET or to reuse the original method, 307 Temporary Redirect provides clear guidance that the request method should not be changed, thus avoiding confusion and potential functionality issues.