From d8afe1b8c31f30e6f971c53039c2d28e486f424f Mon Sep 17 00:00:00 2001 From: Dillon Redding Date: Wed, 8 May 2019 17:51:01 -0500 Subject: [PATCH] Fixing status reason phrase --- doc/ring/default_handler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ring/default_handler.md b/doc/ring/default_handler.md index ea5656cf..40fda56b 100644 --- a/doc/ring/default_handler.md +++ b/doc/ring/default_handler.md @@ -30,7 +30,7 @@ Setting the default-handler as a second argument to `ring-handler`: ; {:status 404, :body ""} ``` -To get more correct http error responses, `ring/create-default-handler` can be used. It differentiates `:not-found` (no route matched), `:method-not-accepted` (no method matched) and `:not-acceptable` (handler returned `nil`). +To get more correct http error responses, `ring/create-default-handler` can be used. It differentiates `:not-found` (no route matched), `:method-not-allowed` (no method matched) and `:not-acceptable` (handler returned `nil`). With defaults: