How does HTTP 302 work?

Viewed 39173

How does HTTP 302 work? I would like to know the internals

6 Answers

302 Found:

  • Indicates that the resource requested has been temporarily moved to the URL given by the location header.

  • A browser redirects to this page but search engines don't update their links to the resource.

  • It is recommended to set the 302 code only as a response for GET or HEAD methods.

  • In cases where you want the method used to be changed to GET, use 303.

Related