module XMLRPC::ParseContentType
Public Instance Methods
parse_content_type(str)
click to toggle source
# File lib/blogpost.rb, line 23 def parse_content_type(str) a, *b = str.split(";") a = "text/xml" if a == "application/xml" return a.strip.downcase, *b end