33件ヒット
[1-33件を表示]
(0.015秒)
ライブラリ
-
webrick
/ httpresponse (33)
キーワード
-
reason
_ phrase (11) -
reason
_ phrase= (11) - status= (11)
検索結果
先頭3件
-
WEBrick
:: HTTPResponse # reason _ phrase=(val) (6146.0) -
HTTP のレスポンスの最初の行の reason phrase をセットします。 この値が nil の場合 reason phrase は status から生成されます。 デフォルトは nil です。
...最初の行の reason phrase をセットします。
この値が nil の場合 reason phrase は status から生成されます。
デフォルトは nil です。
@param val reason phrase を表す文字列を指定します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVer......sion => "1.1" } )
res.status = 404
p res.reason_phrase #=> "Not Found"... -
WEBrick
:: HTTPResponse # reason _ phrase -> String | nil (6134.0) -
HTTP のレスポンスの最初の行の reason phrase を返します。 この値が nil の場合 reason phrase は status から生成されます。 デフォルトは nil です。
...HTTP のレスポンスの最初の行の reason phrase を返します。
この値が nil の場合 reason phrase は status から生成されます。
デフォルトは nil です。... -
WEBrick
:: HTTPResponse # status=(status) (23.0) -
レスポンスのステータスコードを整数で指定します。 reason_phrase も適切なものに設定されます。
...数で指定します。
reason_phrase も適切なものに設定されます。
@param status ステータスコードを整数で指定します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404
p res.reason_phrase #=> "Not Found"...