From 1593b25d412e47257154525363fade2f4ff61911 Mon Sep 17 00:00:00 2001 From: jeg2 Date: Wed, 24 Oct 2007 18:46:08 +0000 Subject: * lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type): Making Content-Type checks case insensitive. [ruby-Bugs-3367] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/xmlrpc/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/xmlrpc/utils.rb b/lib/xmlrpc/utils.rb index 85c6bba37..f0966fee4 100644 --- a/lib/xmlrpc/utils.rb +++ b/lib/xmlrpc/utils.rb @@ -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 -- cgit