In Files

XMLRPC::ParseContentType

Public Instance Methods

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