mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/net/http/responses.rb: added Net::HTTPPermanentRedirect(308)
Contributed by @yorkie [fix GH-638] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									d07a013cf9
								
							
						
					
					
						commit
						595782b924
					
				
					 2 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Thu Jun 12 18:31:01 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>
 | 
			
		||||
 | 
			
		||||
	* lib/net/http/responses.rb: added Net::HTTPPermanentRedirect(308)
 | 
			
		||||
	  Contributed by @yorkie [fix GH-638]
 | 
			
		||||
 | 
			
		||||
Thu Jun 12 13:27:38 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* string.c (rb_str_freeze): shrink the buffer before freezing, as
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -85,7 +85,9 @@ end
 | 
			
		|||
class Net::HTTPTemporaryRedirect < Net::HTTPRedirection  # 307
 | 
			
		||||
  HAS_BODY = true
 | 
			
		||||
end
 | 
			
		||||
# 308 Permanent Redirect - in draft
 | 
			
		||||
class Net::HTTPPermanentRedirect < Net::HTTPRedirection  # 308
 | 
			
		||||
  HAS_BODY = true
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Net::HTTPBadRequest < Net::HTTPClientError                    # 400
 | 
			
		||||
  HAS_BODY = true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue