class HTTP::ContentType
Constants
- CHARSET_RE
- MIME_TYPE_RE
Attributes
Public Class Methods
Source
# File lib/http/content_type.rb, line 12 def parse(str) new mime_type(str), charset(str) end
Parse string and return ContentType
struct
# File lib/http/content_type.rb, line 12 def parse(str) new mime_type(str), charset(str) end
Parse string and return ContentType
struct