A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

3XX Redirection Responses

About

The 3XX Redirection responses signal that further action needs to be taken in order to complete the request1. HTTP Redirection responses are status codes that range from 300 to 3992.

List

Below are the Redirection responses, ranging between 300 and 399:

  • 300 Multiple Choices - in agent-driven content negotiation, the request has more than one possible response and the user agent or user should choose one of them. There is no standardised way for clients to automatically choose one of the responses, so this is rarely used.
  • 301 Moved Permanently - the URL of the requested resource has been changed permanently. The new URL is given in the response.
  • 302 Found - this response code means that the URL of the requested resource has has changed temporarily. Further changes in the URI might be made in the future, so the same URI should be used by the client in future requests.
  • 303 See Other - the server sent this response to direct the client to get the requested resource at another URI with a GET request.
  • 305 Use Proxy - defined in a previous version of HTTP specification to indicate that a requested response must be accessed by a proxy. It has been deprecated due to security concerns regarding in-band configuration of a proxy.
  • 306 unused - this response code is no longer used; but is resereved. It was used in a previous version of the HTTP/1.1 specification.
  • 307 Temporary Redirect - the server sends this response to direct the client to get the requested resource at another URI with the same method that was used in the prior request. This has the same semantics as the 302 Found response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the redirected request.
  • 308 Permanent Redirect - this means that the resource is now permanently located at another URI, specified by the Location response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.

Anki

References


  1. Wikipedia. “HTTP”. Available at: https://en.wikipedia.org/wiki/HTTP. (Accessed: [2025-05-23 Fri 02:15]). ↩︎

  2. MDN. “3XX Redirection response”. Available at: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status#redirection_messages. (Accessed: [2025-05-16 Fri 03:19]). ↩︎

Related Posts