What does HTTP status code 302 mean?

Prepare for the CodeHS The Internet Test with detailed multiple choice questions and comprehensive explanations. Ensure success by practicing and understanding core concepts of internet functionality and security.

Multiple Choice

What does HTTP status code 302 mean?

Explanation:
A temporary redirect tells the browser to fetch the requested resource from a different URL for this request. When the server responds with this code, it includes the new URL in the Location header, and the client automatically follows it. The key point is that the move is temporary, so the original URL should continue to be used for future requests. This differs from a permanent redirect, where the new URL should be used going forward. The other options describe different situations: Not Modified means the cached version is still good, Bad Request indicates a syntax error in the request, and Internal Server Error indicates a server problem.

A temporary redirect tells the browser to fetch the requested resource from a different URL for this request. When the server responds with this code, it includes the new URL in the Location header, and the client automatically follows it. The key point is that the move is temporary, so the original URL should continue to be used for future requests.

This differs from a permanent redirect, where the new URL should be used going forward. The other options describe different situations: Not Modified means the cached version is still good, Bad Request indicates a syntax error in the request, and Internal Server Error indicates a server problem.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy