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
Q

402

A

Payment required - reserved for future use.

26
Q

403

A

Forbidden - valid request, but the server is refusing to respond to it.

27
Q

404

A

Not found - the requested resource was not found by the server.

28
Q

406

A

Not acceptable - the requested resource is only capable of generating content not acceptable according to the accept headers in the request.

29
Q

407

A

Proxy authentication required - client must first authenticate itself with the proxy

30
Q

408

A

Request timeout - server timed out waiting for the request.

31
Q

409

A

Conflict- indicates the request could not be processed due to a conflict in the request.

32
Q

410

A

Indicates the resource is no longer available

33
Q

411

A

Length required - request did not specify the length of its content

34
Q

412

A

Precondition failed - the server does not meet one or more of the preconditions that the requester put on the request.

35
Q

413

A

Request entity too large

36
Q

414

A

Request URI too long

37
Q

415

A

Unsupported media type

38
Q

416

A

Requested range not satisfiable

39
Q

417

A

Expectation failed

40
Q

418

A

I’m a teapot

41
Q

419

A

Authentication timeout (not a part of the rfc?)

42
Q

420

A

Enhance your calm - not a part of the rfc - returned by twitter search and trends when client is being rate limited

43
Q

429

A

Too many requests

44
Q

440

A

Login timeout (Microsoft)

45
Q

444

A

No response (nginx)

46
Q

449

A

Retry with (Microsoft)

47
Q

500

A

Internal server error

48
Q

501

A

Not implemented - server does not recognise the request method, or can’t fulfil the request

49
Q

502

A

Bad gateway - server was acting as a gateway or proxy and received an invalid response from an upstream server

50
Q

503

A

Server unavailable

51
Q

504

A

Gateway timeout - server was acting as a gateway or proxy and did not receive a timely response from the upstream server

52
Q

505

A

HTTP version not supported

53
Q

1xx type messages are…

A

Informational

54
Q

2xx messages are…

A

Success

55
Q

3xx messages are…

A

Redirections

56
Q

4xx messages are…

A

Client errors

57
Q

5xx messages are…

A

Server errors