77件ヒット
[1-77件を表示]
(0.114秒)
別のキーワード
ライブラリ
-
net
/ http (22) -
net
/ imap (44) -
webrick
/ httpresponse (11)
クラス
モジュール
-
Net
:: HTTPHeader (22)
キーワード
- code (11)
-
content
_ type= (11) - data (22)
-
main
_ type (11) -
sub
_ type (11)
検索結果
先頭5件
-
Net
:: IMAP :: ResponseText # text -> String (24102.0) -
応答のテキストを文字列で返します。
応答のテキストを文字列で返します。 -
Net
:: IMAP :: ResponseText # code -> Net :: IMAP :: ResponseCode | nil (6101.0) -
レスポンスコードを返します。
...レスポンスコードを返します。
応答がレスポンスコードを含んでいない場合は nil を返します。
@see Net::IMAP::ResponseCode... -
Net
:: IMAP :: TaggedResponse # data -> Net :: IMAP :: ResponseText (3201.0) -
レスポンスを解析したオブジェクトを返します。
...レスポンスを解析したオブジェクトを返します。
@see Net::IMAP::ResponseText... -
WEBrick
:: HTTPResponse # content _ type=(val) (3007.0) -
Content-Type ヘッダの値をセットします。
...Content-Type ヘッダの値をセットします。
@param val Content-Type ヘッダの値を文字列で指定します。
res.content_type = "text/html"
@see WEBrick::HTTPUtils.#mime_type... -
Net
:: IMAP :: ContinuationRequest # data -> Net :: IMAP :: ResponseText (201.0) -
レスポンスのデータを返します。
レスポンスのデータを返します。 -
Net
:: HTTPHeader # main _ type -> String|nil (45.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 # sub _ type -> String|nil (23.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.......get_response(uri)
res.sub_type # => "html"
//}...