Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

In Files

  • xmlrpc/utils.rb

XMLRPC::ParseContentType

Public Instance Methods

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