[前][次][番号順一覧][スレッド一覧]

ruby-changes:41314

From: hsbt <ko1@a...>
Date: Wed, 30 Dec 2015 20:45:56 +0900 (JST)
Subject: [ruby-changes:41314] hsbt:r53386 (trunk): * lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.

hsbt	2015-12-30 20:45:52 +0900 (Wed, 30 Dec 2015)

  New Revision: 53386

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53386

  Log:
    * lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
      [fix GH-1167] Patch by @MuhammetDilmac
      https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/httpstatus.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53385)
+++ ChangeLog	(revision 53386)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Dec 30 20:45:45 2015  SHIBATA Hiroshi  <hsbt@r...>
+
+	* lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
+	  [fix GH-1167] Patch by @MuhammetDilmac
+	  https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00
+
 Wed Dec 30 20:25:52 2015  SHIBATA Hiroshi  <hsbt@r...>
 
 	* doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
Index: lib/webrick/httpstatus.rb
===================================================================
--- lib/webrick/httpstatus.rb	(revision 53385)
+++ lib/webrick/httpstatus.rb	(revision 53386)
@@ -99,6 +99,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/httpstatus.rb#L99
       428 => 'Precondition Required',
       429 => 'Too Many Requests',
       431 => 'Request Header Fields Too Large',
+      451 => 'Unavailable For Legal Reasons',
       500 => 'Internal Server Error',
       501 => 'Not Implemented',
       502 => 'Bad Gateway',

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]