3件ヒット
[1-3件を表示]
(0.078秒)
クラス
キーワード
- filename (1)
-
reason
_ phrase (1) -
status
_ line (1)
検索結果
先頭3件
-
WEBrick
:: HTTPResponse # reason _ phrase -> String | nil (36910.0) -
HTTP のレスポンスの最初の行の reason phrase を返します。 この値が nil の場合 reason phrase は status から生成されます。 デフォルトは nil です。
HTTP のレスポンスの最初の行の reason phrase を返します。
この値が nil の場合 reason phrase は status から生成されます。
デフォルトは nil です。 -
WEBrick
:: HTTPResponse # filename -> String | nil (18610.0) -
自身の内容があるファイルのそれである場合に、そのファイル名を返します。 デフォルトは nil です。
自身の内容があるファイルのそれである場合に、そのファイル名を返します。
デフォルトは nil です。 -
WEBrick
:: HTTPResponse # status _ line -> String (18610.0) -
HTTP のステータスラインを CR+LF 付き文字列で返します。
HTTP のステータスラインを CR+LF 付き文字列で返します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404
p res.status_line #=> "HTTP/1.1 404 Not Found \r\n"