From cd5d6a1c373b53831021376b6f7d2e04d4c05f97 Mon Sep 17 00:00:00 2001 From: George Chung Date: Fri, 21 Apr 2017 15:50:39 +0800 Subject: [PATCH] docs: reorganize "response.status=" section (#966) Reference: https://github.com/jshttp/statuses/blob/v1.2.0/src/iana.json Since koa@2.2.0 depends statuses@1.2.0 --- docs/api/response.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/api/response.md b/docs/api/response.md index 96d54c2..751f740 100644 --- a/docs/api/response.md +++ b/docs/api/response.md @@ -38,13 +38,16 @@ - 205 "reset content" - 206 "partial content" - 207 "multi-status" + - 208 "already reported" + - 226 "im used" - 300 "multiple choices" - 301 "moved permanently" - - 302 "moved temporarily" + - 302 "found" - 303 "see other" - 304 "not modified" - 305 "use proxy" - 307 "temporary redirect" + - 308 "permanent redirect" - 400 "bad request" - 401 "unauthorized" - 402 "payment required" @@ -53,21 +56,19 @@ - 405 "method not allowed" - 406 "not acceptable" - 407 "proxy authentication required" - - 408 "request time-out" + - 408 "request timeout" - 409 "conflict" - 410 "gone" - 411 "length required" - 412 "precondition failed" - - 413 "request entity too large" - - 414 "request-uri too large" + - 413 "payload too large" + - 414 "uri too long" - 415 "unsupported media type" - - 416 "requested range not satisfiable" + - 416 "range not satisfiable" - 417 "expectation failed" - - 418 "i'm a teapot" - 422 "unprocessable entity" - 423 "locked" - 424 "failed dependency" - - 425 "unordered collection" - 426 "upgrade required" - 428 "precondition required" - 429 "too many requests" @@ -76,11 +77,11 @@ - 501 "not implemented" - 502 "bad gateway" - 503 "service unavailable" - - 504 "gateway time-out" + - 504 "gateway timeout" - 505 "http version not supported" - 506 "variant also negotiates" - 507 "insufficient storage" - - 509 "bandwidth limit exceeded" + - 508 "loop detected" - 510 "not extended" - 511 "network authentication required"