📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 18:11:39
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Net
/
HTTPHeader
📍 /opt/alt/ruby33/share/ri/system/Net/HTTPHeader
🔄 Refresh
✏️
Editing: sub_type-i.ri
Read Only
U:RDoc::AnyMethod[iI" sub_type:ETI"Net::HTTPHeader#sub_type;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"2Returns the trailing ('subtype') part of the ;TI"<{media type}[https://en.wikipedia.org/wiki/Media_type] ;TI"6from the value of field <tt>'Content-Type'</tt>, ;TI"'or +nil+ if no such field exists; ;TI"see {Content-Type response header}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#content-type-response-header]:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"8res = Net::HTTP.get_response(hostname, '/todos/1') ;TI"@res['content-type'] # => "application/json; charset=utf-8" ;TI"$res.sub_type # => "json";T:@format0: @fileI"lib/net/http/header.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI"HTTPHeader;TcRDoc::NormalModule00
💾 Save Changes
❌ Cancel