標籤:

HTTP Status Codes

HTTP Status Codes

w3.org/Protocols/HTTP/1

HTTP Status Codes

List of HTTP status codes

HTTP/1.1: Status Code Definitions

  • 1×× Informational

  • 100 Continue
  • 101 Switching Protocols
  • 102 Processing
  • 2×× Success

  • 200 OK
  • 201 Created
  • 202 Accepted
  • 203 Non-authoritative Information
  • 204 No Content
  • 205 Reset Content
  • 206 Partial Content
  • 207 Multi-Status
  • 208 Already Reported
  • 226 IM Used
  • 3×× Redirection

  • 300 Multiple Choices
  • 301 Moved Permanently
  • 302 Found
  • 303 See Other
  • 304 Not Modified
  • 305 Use Proxy
  • 307 Temporary Redirect
  • 308 Permanent Redirect
  • 4×× Client Error

  • 400 Bad Request
  • 401 Unauthorized
  • 402 Payment Required
  • 403 Forbidden
  • 404 Not Found
  • 405 Method Not Allowed
  • 406 Not Acceptable
  • 407 Proxy Authentication Required
  • 408 Request Timeout
  • 409 Conflict
  • 410 Gone
  • 411 Length Required
  • 412 Precondition Failed
  • 413 Payload Too Large
  • 414 Request-URI Too Long
  • 415 Unsupported Media Type
  • 416 Requested Range Not Satisfiable
  • 417 Expectation Failed
  • 418 Im a teapot
  • 421 Misdirected Request
  • 422 Unprocessable Entity
  • 423 Locked
  • 424 Failed Dependency
  • 426 Upgrade Required
  • 428 Precondition Required
  • 429 Too Many Requests
  • 431 Request Header Fields Too Large
  • 444 Connection Closed Without Response
  • 451 Unavailable For Legal Reasons
  • 499 Client Closed Request
  • 5×× Server Error

  • 500 Internal Server Error
  • 501 Not Implemented
  • 502 Bad Gateway
  • 503 Service Unavailable
  • 504 Gateway Timeout
  • 505 HTTP Version Not Supported
  • 506 Variant Also Negotiates
  • 507 Insufficient Storage
  • 508 Loop Detected
  • 510 Not Extended
  • 511 Network Authentication Required
  • 599 Network Connect Timeout Error

1

10

Status Code Definitions ...............................................................................................................37n

10.1

Informational 1xx ......................................................................................................................37n

10.1.1

100 Continue

......................................................................................37n

10.1.2

101 Switching Protocols ....................................................................................................38

10.2

Successful 2xx
...........................................................................................................................38n

10.2.1

200 OK

..............................................................................................................................38n

10.2.2

201 Created

........................................................................................................................38n

10.2.3

202 Accepted .....................................................................................................................38n

10.2.4

203 Non-Authoritative Information

...................................................................................39n

10.2.5

204 No Content

..................................................................................................................39n

10.2.6

205 Reset Content

..............................................................................................................39n

10.2.7

206 Partial Content ............................................................................................................39

10.3 Redirection 3xx

..........................................................................................................................40n

10.3.1

300 Multiple Choices

.........................................................................................................40n

10.3.2

301 Moved Permanently

....................................................................................................40n

10.3.3

302 Found ..........................................................................................................................40n

10.3.4

303 See Other ....................................................................................................................41n

10.3.5 304 Not Modified ..............................................................................................................41n

10.3.6

305 Use Proxy

....................................................................................................................41n

10.3.7

306 (Unused) .....................................................................................................................41n

10.3.8

307 Temporary Redirect ....................................................................................................42n

10.4

Client Error 4xx .........................................................................................................................42n

10.4.1

400 Bad Request

................................................................................................................42n

10.4.2

401 Unauthorized

...............................................................................................................42n

10.4.3

402 Payment Required

.......................................................................................................42n

10.4.4

403 Forbidden

....................................................................................................................42n

10.4.5

404 Not Found ...................................................................................................................43n

10.4.6

405 Method Not Allowed

..................................................................................................43n

10.4.7

406 Not Acceptable ...........................................................................................................43n

10.4.8

407 Proxy Authentication Required

...................................................................................43n

10.4.9

408 Request Timeout .........................................................................................................43n

10.4.10

409 Conflict

.......................................................................................................................43n

10.4.11

410 Gone ...........................................................................................................................44n

10.4.12

411 Length Required .........................................................................................................44n

10.4.13

412 Precondition Failed

.....................................................................................................44n

10.4.14

413 Request Entity Too Large

...........................................................................................44n

10.4.15

414 Request-URI Too Long

..............................................................................................44n

10.4.16

415 Unsupported Media Type

...........................................................................................44n

10.4.17

416 Requested Range Not Satisfiable

................................................................................44n

10.4.18

417 Expectation Failed ......................................................................................................45n

10.5 Server Error 5xx ........................................................................................................................45n

10.5.1

500 Internal Server Error ...................................................................................................45n

10.5.2

501 Not Implemented ........................................................................................................45n

10.5.3

502 Bad Gateway

...............................................................................................................45n

10.5.4

503 Service Unavailable ....................................................................................................45n

10.5.5

504 Gateway Timeout

........................................................................................................45n

10.5.6

505 HTTP Version Not Supported

....................................................................................45

1

1

1

1

1

1


推薦閱讀:

精神力量有多强大?
HTTP伺服器的本質:tinyhttpd源碼分析及拓展
請正確使用http狀態碼,謝謝!
合併 HTTP 請求是否真的有意義?

TAG:HTTP | HTTP2 | HTTPS |