Status codes Flashcards
What does HTTP stand for?
HyperText Transfer Protocol
What is the purpose of HTTP Status Codes?
To indicate the result of a server’s attempt to process a client’s request.
True or False: HTTP Status Codes are always three digits long.
True
What HTTP Status Code represents ‘OK’?
200
Fill in the blank: The HTTP Status Code _____ indicates that the requested resource was not found.
404
Which class of HTTP Status Codes does 500 belong to?
Server Error
What does the status code 301 signify?
Moved Permanently
This and all future requests should be directed to the given URI.
Multiple Choice: Which of the following codes indicates a client error?
1) 200
2) 400
3) 500
2) 400
What is the meaning of the HTTP Status Code 403?
Forbidden
The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action (e.g. creating a duplicate record where only one is allowed).
This code is also typically used if the request provided authentication by answering the WWW-Authenticate header field challenge, but the server did not accept that authentication. The request should not be repeated.
True or False: The status code 302 indicates a temporary redirect.
True
What does the status code 204 indicate?
No Content
The server successfully processed the request, and is not returning any content.
Fill in the blank: The status code _____ indicates that the server cannot process the request due to a client error.
400
What is the meaning of the HTTP Status Code 503?
Service Unavailable
The server cannot handle the request (because it is overloaded or down for maintenance). Generally, this is a temporary state.
Multiple Choice: Which status code indicates that a request has been accepted for processing, but the processing is not complete?
1) 202
2) 204
3) 400
202
What does the status code 100 indicate?
Continue
Fill in the blank: The status code _ indicates that the server was acting as a gateway or proxy and received an invalid response from the upstream server.
502