method
content_type
v2_2_9 -
Show latest stable
- Class:
Net::HTTPHeader
content_type()public
Returns a content type string such as “text/html”. This method returns nil if Content-Type: header field does not exist.
content_type()Returns a content type string such as “text/html”. This method returns nil if Content-Type: header field does not exist.