mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type):
Making Content-Type checks case insensitive. [ruby-Bugs-3367] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									2070362f33
								
							
						
					
					
						commit
						3c15e9efe3
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Wed Oct 25 03:45:08 2007  James Edward Gray II  <jeg2@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type):
 | 
			
		||||
	  Making Content-Type checks case insensitive. [ruby-Bugs-3367]
 | 
			
		||||
 | 
			
		||||
Wed Oct 24 17:09:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* parse.y (parser_tokspace): make space in token buffer.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -157,7 +157,7 @@ module XMLRPC
 | 
			
		|||
  module ParseContentType
 | 
			
		||||
    def parse_content_type(str)
 | 
			
		||||
      a, *b = str.split(";")
 | 
			
		||||
      return a.strip, *b
 | 
			
		||||
      return a.strip.downcase, *b
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue