200-901 · Question #171
Which HTTP error code relates to redirection?
The correct answer is D. 300. HTTP status codes in the 3xx range indicate redirection, meaning the client needs to take additional action to complete the request, typically by following a new URL.
Question
Which HTTP error code relates to redirection?
Options
- A200
- B400
- C500
- D300
How the community answered
(30 responses)- A3% (1)
- B7% (2)
- D90% (27)
Why each option
HTTP status codes in the 3xx range indicate redirection, meaning the client needs to take additional action to complete the request, typically by following a new URL.
200 (OK) indicates that the request has succeeded.
400 (Bad Request) indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
500 (Internal Server Error) indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
HTTP status codes in the 300-399 range, such as 301 (Moved Permanently), 302 (Found), or 307 (Temporary Redirect), specifically signal to the client that the requested resource has moved and provides the new location.
Concept tested: HTTP status codes - Redirection
Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_responses
Topics
Community Discussion
No community discussion yet for this question.