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