Show Menu
Cheatography

HTTP Status Codes Cheat Sheet by

HTTP Status Codes

1xx: HTTP Inform­ational Codes

100
Continue
101
Switching Protocols
102
Processing WebDAV
103
Checkpoint draft POST PUT
122
Reques­t-URI too long IE7

2xx: HTTP Successful Codes

200
OK
201
Created
202
Accepted
203
Non-Au­tho­rit­ative Inform­ation 1.1
204
No Content
205
Reset Content
206
Partial Content
207
Multi-­Status WebDAV 4918
208
Already Reported WebDAV 5842
226
IM Used 3229 GET

3xx: HTTP Redire­ction Codes

300
Multiple Choices
301
Moved Perman­ently
302
Found
303
See Other 1.1
304
Not Modified
305
Use Proxy 1.1
306
Switch Proxy unused
307
Temporary Redirect 1.1
308
Permanent Redirect 7538
307 and 308 are similar to 302 and 301, but the new request method after redirect must be the same, as on initial request.
 

4xx: HTTP Client Error Code

400
Bad Request
401
Unauth­orized
402
Payment Required res
403
Forbidden
404
Not Found
405
Method Not Allowed
406
Not Acceptable
407
Proxy Authen­tic­ation Required
408
Request Timeout
409
Conflict
410
Gone
411
Length Required
412
Precon­dition Failed
413
Request Entity Too Large
414
Reques­t-URI Too Long
415
Unsupp­orted Media Type
416
Requested Range Not Satisf­iable
417
Expect­ation Failed
418
I'm a teapot 2324
422
Unproc­essable Entity WebDAV 4918
423
Locked WebDAV 4918
424
Failed Dependency WebDAV 4918
425
Unordered Collection 3648
426
Upgrade Required 2817
428
Precon­dition Required draft
429
Too Many Requests draft
431
Request Header Fields Too Large draft
444
No Response nginx
449
Retry With MS
450
Blocked By Windows Parental Controls MS
451
Unavai­lable For Legal Reasons draft
499
Client Closed Request nginx
 

5xx: HTTP Server Error Codes

500
Internal Server Error
501
Not Implem­ented
502
Bad Gateway
503
Service Unavai­lable
504
Gateway Timeout
505
HTTP Version Not Supported
506
Variant Also Negotiates 2295
507
Insuff­icient Storage WebDAV 4918
508
Loop Detected WebDAV 5842
509
Bandwidth Limit Exceeded nostd
510
Not Extended 2774
511
Network Authen­tic­ation Required draft
598
Network read timeout error nostd
599
Network connect timeout error nostd

HTTP Code Comments

WebDAV
WebDAV extension
1.1
HTTP/1.1
GET, POST, PUT, POST
For these methods only
IE
IE extension
MS
MS extension
nginx
nginx extension
2518, 2817, 2295, 2774, 3229, 4918, 5842
RFC number
draft
Proposed draft
nostd
Non standard extension
res
Reserved for future use
unused
No more in use, deprecated
Wikipedia was used to produce all HTTP codes content:
http:/­/en.wi­kip­edi­a.o­rg/­wik­i/H­TTP­_status
                           
 

Comments

Note to self: review content in accordance with http://en.wikipedia.org/wiki/List_of_HTTP_status_codes and RFCs.

Great cheat sheet, kstep! Very handy!

I should hang this on my fridge haha :). Thanks!

Update: code 451 (unavailable for legal reasons), see http://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00.

Why two pages? It would easily fit onto 1 page

DaveChild DaveChild, 10:06 10 Feb 15

Hi Adam. Well spotted. Yes, this should fit on to one page. I've had a look at the PDF generation system and corrected a bug with it, and this will now be a bit more accurate.

HTTP 308 Permanent Redirect => https://tools.ietf.org/html/draft-reschke-http-status-308-00

kstep kstep, 16:38 1 Jul 16

Thank you for noticing this mistake, I fixed it.

Nice sheet! My only suggestion would be to put the code category (1xx, for example) on the left of the header vs the right. Scanning for categories is faster that way instead of having to read the entire header. Not really a big deal in all, but just a suggestion! Thanks for this great sheet.

kstep kstep, 16:39 1 Jul 16

Good advice, thank you! I've taken it into account.

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          HTTP Server Status Codes Cheat Sheet
          htaccess at its best! Cheat Sheet