Module: XMLRPC::ParseContentType
- Defined in:
- lib/xmlrpc/utils.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) parse_content_type(str)
158 159 160 161 |
# File 'lib/xmlrpc/utils.rb', line 158 def parse_content_type(str) a, *b = str.split(";") return a.strip.downcase, *b end |