module XMLRPC::ParseContentType

Public Instance Methods

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