ruby-changes:39118
From: hsbt <ko1@a...>
Date: Thu, 9 Jul 2015 10:19:23 +0900 (JST)
Subject: [ruby-changes:39118] hsbt:r51199 (trunk): * lib/net/http/responses.rb: Added 308 status to CODE_TO_OBJ list.
hsbt 2015-07-09 10:19:01 +0900 (Thu, 09 Jul 2015) New Revision: 51199 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51199 Log: * lib/net/http/responses.rb: Added 308 status to CODE_TO_OBJ list. [fix GH-961] Patch by @billinghamj Modified files: trunk/ChangeLog trunk/lib/net/http/responses.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 51198) +++ ChangeLog (revision 51199) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jul 9 10:03:10 2015 SHIBATA Hiroshi <hsbt@r...> + + * lib/net/http/responses.rb: Added 308 status to CODE_TO_OBJ list. + [fix GH-961] Patch by @billinghamj + Thu Jul 9 09:34:14 2015 Koichi Sasada <ko1@a...> * vm_core.h (rb_control_frame_t): fix comments (layout index). Index: lib/net/http/responses.rb =================================================================== --- lib/net/http/responses.rb (revision 51198) +++ lib/net/http/responses.rb (revision 51199) @@ -231,6 +231,7 @@ class Net::HTTPResponse https://github.com/ruby/ruby/blob/trunk/lib/net/http/responses.rb#L231 '304' => Net::HTTPNotModified, '305' => Net::HTTPUseProxy, '307' => Net::HTTPTemporaryRedirect, + '308' => Net::HTTPPermanentRedirect, '400' => Net::HTTPBadRequest, '401' => Net::HTTPUnauthorized, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/