Module: XMLRPC::ParseContentType

Included in:
BasicServer, Client
Defined in:
lib/xmlrpc/utils.rb

Instance Method Summary collapse

Instance Method Details

#parse_content_type(str) ⇒ Object



165
166
167
168
# File 'lib/xmlrpc/utils.rb', line 165

def parse_content_type(str)
  a, *b = str.split(";")
  return a.strip.downcase, *b
end