module XMLRPC::ParseContentType

Public Instance Methods

parse_content_type(str) click to toggle source
# File xmlrpc-0.3.0/lib/xmlrpc/utils.rb, line 165
def parse_content_type(str)
  a, *b = str.split(";")
  return a.strip.downcase, *b
end