diff --git a/docs/api/request.md b/docs/api/request.md index 0d0474c..a36c999 100644 --- a/docs/api/request.md +++ b/docs/api/request.md @@ -222,7 +222,7 @@ switch (this.accepts('json', 'html', 'text')) { case 'json': break; case 'html': break; case 'text': break; - case false: break; + default: this.throw(406); } ```