るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.023秒)
トップページ > クエリ:io[x] > ライブラリ:cgi/core[x] > クエリ:request_method[x]

別のキーワード

  1. request new
  2. http request_head
  3. http request_get
  4. http request_put
  5. request verify

クラス

モジュール

検索結果

CGI::QueryExtension#request_method -> String (21119.0)

ENV['REQUEST_METHOD'] を返します。

...ENV['REQUEST_METHOD'] を返します。...

CGI#out(options = "text/html") { .... } (108.0)

HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。

...リクエスト (REQUEST_METHOD == "HEAD") の場合は HTTP ヘッダのみを出力します。

charset が "iso-2022-jp"・"euc-jp"・"shift_jis" のいずれかで
ある場合は文字列エンコーディングを自動変換し、language を "ja"にします。

@param options Hash か文...
...=> true,
"status" => "OK", # == "200 OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type" => "text/html",
"charset" => "iso-2022-jp",
# Content-Type: text/...