summaryrefslogtreecommitdiffstats
path: root/lib/xmlrpc/utils.rb
diff options
context:
space:
mode:
authorjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-24 18:46:08 +0000
committerjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-24 18:46:08 +0000
commit1593b25d412e47257154525363fade2f4ff61911 (patch)
tree8c619124f6652b6e08d3c1027a4f42b82ca82f6a /lib/xmlrpc/utils.rb
parentc734976bf2e3a54cb2d894f6c0765201fb04069c (diff)
downloadruby-1593b25d412e47257154525363fade2f4ff61911.tar.gz
ruby-1593b25d412e47257154525363fade2f4ff61911.tar.xz
ruby-1593b25d412e47257154525363fade2f4ff61911.zip
* 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
Diffstat (limited to 'lib/xmlrpc/utils.rb')
-rw-r--r--lib/xmlrpc/utils.rb2
1 files changed, 1 insertions, 1 deletions
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