From b0e17bf4494402768636ee4c91ab4eeb257cacae Mon Sep 17 00:00:00 2001 From: Erik Behrends Date: Thu, 6 Sep 2012 16:47:46 +0300 Subject: [PATCH] Fix: status 401 is :unauthorized in Rails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's :unauthorized and not :unauthorised See also status definition in Rack::Utils https://github.com/rack/rack/blob/master/lib/rack/utils.rb#L500 --- codes/4.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/4.json b/codes/4.json index db4a93a..e950347 100644 --- a/codes/4.json +++ b/codes/4.json @@ -42,7 +42,7 @@ "references":{ "rails":{ "title":"Rails HTTP Status Symbol", - "value":":unauthorised" + "value":":unauthorized" } } },