HTTP Status Codes Flashcards

1
Q

This tells the client to continue with the rest of it’s request.

A

100 Continue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

This indicates that the server will switch to an updated HTTP version in response to a client request to do so.

A

101 Switching Protocols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The request was successful.

A

200 OK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Your request was successful and resulted in a new resource being created.

A

201 Created

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Your request was accepted for processing; however, it may not have yet been processed.

A

202 Accepted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The information returned to you is not from the original source but may be from a third party or be a subset of the original information.

A

203 Non Authoritative Information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The request was successful but the response results in no content.

A

204 No Content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The client should reset the document view.

A

205 Reset Content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The server fulfilled the partial GET request.

A

206 Partial Content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The reply from the server will contain multiple resources the client can choose to redirect to.

A

300 Multiple Choices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

This code is used when a resource will never again be available at the previous URI and has been moved to the new resource. Administrators use this code when they want to indicate that a client should point all future requests to the new URI.

A

301 Moved Permanently

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Unlike the 301 status, this code denotes a resource that is only temporarily being redirected.

A

302 Found

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

This is commonly a response to a POST request, where the response can be obtained via a GET request to a different URI.

A

303 See Other

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

This response is used when the client sends a GET request conditional on the document being modified. This response lets the client know that the document has not changed.

A

304 Not Modified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The server will provide a proxy in its response URI that must be followed to access the requested data.

A

305 Use Proxy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Status code is not yet used.

A

306 Unused

17
Q

This is similar to a 302 code and is used when the resource the client is requesting can be found under a different URI temporarily, but in the future, the client should use the original URI.

A

307 Temporary Redirect

18
Q

This code is used in response to bad syntax on the client side.

A

400 Bad Request

19
Q

This request requires authentication from the user, so the client should repeat the request with proper authentication.

A

401 Unauthorized

20
Q

Unlike a 401, this request is not allowed from the user, and the client should not attempt to repeat the request with authentication. This error code is often indicative of permissions errors.

A

403 Forbidden

21
Q

The server couldn’t find the page the client requested. This error code often comes up when the user had a typo in their request. when the request is for a page that has moved without a redirection put in place, or when the file used to exist but has been deleted.

A

404 Not Found

22
Q

The client took too long to produce a request. You may see this when you are experimenting with the web server troubleshooting over telnet.

A

408 Request Timeout

23
Q

Unlike a 3xx redirection request, this code is used when the resource used to exist but is now forever gone.

A

410 Gone

24
Q

The server received some internal error when it was processing the request. You may see this when you have a bug in a CGI or PHP script that causes the file to error out when it is run.

A

500 Internal Server Error

25
Q

The server doesn’t support the feature the client is requesting.

A

501 Not Implemented

26
Q

The error shows up when the server is configured as a gateway or proxy device and it received an invalid response when contacting it’s upstream server.

A

502 Bad Gateway

27
Q

The server is temporarily unavailable to server the client’s request, often due to the server being overloaded or to come sort of maintenance being performed on the server.

A

503 Service Unavailable

28
Q

The server did not receive a response in time from some upstream server it needed to fulfill the request. The upstream server could be HTTP, but it could also result from a timeout in an upstream FTP, LDAP, or even DNS server.

A

504 Gateway Timeout

29
Q

Pretty self explanatory; this error code is used when the server does not support the HTTP version the client requests.

A

505 HTTP Version Not Supported

30
Q

Status codes that start with ____ denote some sort of informational response. This status code range is for HTTP/1.1 and shouldn’t be sent to HTTP/1.0 clients. (NOTE: the spaces in this definition do not indicate what the answer is, but rather, the words were redacted so as to mask what the answer might be.)

A

1xx Informational Codes

31
Q

A status code that starts with ____ denotes a successful request. Ideally, if you are troubleshooting a web server, this is the kind of response you want to see. The most common of these status codes is ____ ____, which indicates a successful request. (NOTE: the spaces in this definition do not indicate what the answer is, but rather, the words were redacted so as to mask what the answer might be.)

A

2xx Successful Codes

32
Q

When the status code starts with a ____, it denotes some sort of redirection message from the server to the client. Administrators often use this sort of response when the have moved content from on URL to another, to move you from one domain to another, or even to redirect you to use HTTPS instead of HTTP. (NOTE: the spaces in this definition do not indicate what the answer is, but rather, the words were redacted so as to mask what the answer might be.)

A

3xx Redirection Codes

33
Q

When you are troubleshooting server problems, you are likely to run into some error codes that start with ____. This status code family deals with errors the server believes are on the client side. The most common of these errors is ____, which is returned when a client requests a page that doesn’t exist.

A

4xx Client Error Codes

34
Q

Like 4xx status codes, ____ status codes deal with errors, only in this case the error is likely on the server side. If you are the web server administrator and you see these kinds of error codes, you will want to dig into your web server error logs for more information on the cause of the errors.

A

5xx Server Error Codes