HTTP Codes Flashcards

1
Q

100

A

Continue - server has received request headers, and client should proceed to send the request body.

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

101

A

Switching protocols - requester has asked the server to switch protocols, and the server is acknowledging it will do so.

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

102

A

Processing (WebDAV: rfc 2518). Indicates sever has received and is processing requests. But no response is available yet. Used to prevent timeouts.

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

200

A

OK - standard response for successful requests.

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

201

A

Created - the request has been fulfilled and resulted in a new resource being created.

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

202

A

Accepted - the request has been accepted for processing, but the processing is not completed. It may / may not be acted on, it may even be disallowed when processing actually takes place.

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

203

A

Non-authoritative information. The server successfully processed the request, but is returning information that may be from another source

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

204

A

No content - the server successfully completed the request, but is not returning any content (I.e. Delete requests)

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

205

A

Reset content - the server successfully processed the request, but not sending content, this is different to a 204, in that the response requires the requester reset the document view.

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

206

A

Partial content - server is only delivering part of the resource (byte serving) due to a range header sent by the client. Range header is used by tools like get to enable resuming of interrupted downloads, or splitting into simultaneous streams.

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

207

A

Multiple-status - the message body that follows is XML and can contains number of separate response codes, depending on number of sub requests made.

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

208

A

Already reported - the members of a DAV have already been enumerated in a previous reply to this request, and are not being included again.

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

226

A

IM Used - the server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance

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

300

A

Multiple choices - multiple choices may follow. Such as different format options for video.

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

301

A

Moved permanently - this and all future requests should be directed to the given URI.

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

302

A

Found - was usually implemented incorrectly, using meaning of a 303. Hence the need for the 303 and 307 codes

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

303

A

See other - the reponse to the request can be found under another URI using a get method. (Can be received in response to post, put or delete request)

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

304

A

Not modified - indicates the resource has not been modified since the version specified bt the request headers.

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

305

A

Use proxy - the requested resource is only available through a proxy, whose address is provided in the header.

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

306

A

Switch proxy - no longer used

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

307

A

Temporary redirect - the request should be repeat edits another URI. However future requests should still use the original URI.

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

308

A

Permanent redirect - the request and all future requests should be repeated using another URI.

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

400

A

Bad request - server cannot and will not process the request due to something that is perceived as a client error.

24
Q

401

A

Unauthorised - Similar to 403 forbidden, but specifically when authorisation is required and has either failed, or not been provided.

25
402
Payment required - reserved for future use.
26
403
Forbidden - valid request, but the server is refusing to respond to it.
27
404
Not found - the requested resource was not found by the server.
28
406
Not acceptable - the requested resource is only capable of generating content not acceptable according to the accept headers in the request.
29
407
Proxy authentication required - client must first authenticate itself with the proxy
30
408
Request timeout - server timed out waiting for the request.
31
409
Conflict- indicates the request could not be processed due to a conflict in the request.
32
410
Indicates the resource is no longer available
33
411
Length required - request did not specify the length of its content
34
412
Precondition failed - the server does not meet one or more of the preconditions that the requester put on the request.
35
413
Request entity too large
36
414
Request URI too long
37
415
Unsupported media type
38
416
Requested range not satisfiable
39
417
Expectation failed
40
418
I'm a teapot
41
419
Authentication timeout (not a part of the rfc?)
42
420
Enhance your calm - not a part of the rfc - returned by twitter search and trends when client is being rate limited
43
429
Too many requests
44
440
Login timeout (Microsoft)
45
444
No response (nginx)
46
449
Retry with (Microsoft)
47
500
Internal server error
48
501
Not implemented - server does not recognise the request method, or can't fulfil the request
49
502
Bad gateway - server was acting as a gateway or proxy and received an invalid response from an upstream server
50
503
Server unavailable
51
504
Gateway timeout - server was acting as a gateway or proxy and did not receive a timely response from the upstream server
52
505
HTTP version not supported
53
1xx type messages are...
Informational
54
2xx messages are...
Success
55
3xx messages are...
Redirections
56
4xx messages are...
Client errors
57
5xx messages are...
Server errors