44件ヒット
[1-44件を表示]
(0.013秒)
種類
- インスタンスメソッド (36)
- クラス (8)
モジュール
-
Net
:: HTTPHeader (36)
キーワード
- HTTPNotExtended (8)
-
content
_ type (12) -
main
_ type (12) -
sub
_ type (12)
検索結果
先頭4件
-
Net
:: HTTPNotExtended (6002.0) -
HTTP レスポンス 510 (Not Extended) を表現するクラスです。
...HTTP レスポンス 510 (Not Extended) を表現するクラスです。
詳しくは 2774 を見てください。... -
Net
:: HTTPHeader # main _ type -> String|nil (40.0) -
"text/html" における "text" のようなタイプを表す 文字列を返します。
..."text/html" における "text" のようなタイプを表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_r......esponse(uri)
res.main_type # => "text"
//}... -
Net
:: HTTPHeader # content _ type -> String|nil (18.0) -
"text/html" のような Content-Type を表す 文字列を返します。
..."text/html" のような Content-Type を表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/comments.cgi?post=comment')
req = Net::HTTP::Post... -
Net
:: HTTPHeader # sub _ type -> String|nil (18.0) -
"text/html" における "html" のようなサブタイプを表す 文字列を返します。
..."text/html" における "html" のようなサブタイプを表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP...
