Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.19 KB

302.md

File metadata and controls

34 lines (28 loc) · 1.19 KB
set 3
code 302
layout code
title Found
references
Rails HTTP Status Symbol Go HTTP Status Constant Symfony HTTP Status Constant Python2 HTTP Status Constant Python3+ HTTP Status Constant Python3.5+ HTTP Status Constant
:found
http.StatusFound
Response::HTTP_FOUND
httplib.FOUND
http.client.FOUND
http.HTTPStatus.FOUND

The target resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client ought to continue to use the effective request URI for future requests.

The server SHOULD generate a Location header field in the response containing a URI reference for the different URI. The user agent MAY use the Location field value for automatic redirection. The server's response payload usually contains a short hypertext note with a hyperlink to the different URI(s).

Note: For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request. If this behavior is undesired, the 307 Temporary Redirect status code can be used instead.