るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.116秒)
トップページ > クエリ:-[x] > クエリ:r[x] > クエリ:status_line[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. fileutils rm_r

ライブラリ

クラス

検索結果

WEBrick::HTTPResponse#status_line -> String (21313.0)

HTTP のステータスラインを CR+LF 付き文字列で返します。

...HTTP のステータスラインを CR+LF 付き文字列で返します。

r
equire 'webrick'
r
es = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
r
es.status = 404

p res.status_line #=> "HTTP/1.1 404 Not Found \r\n"...