るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.098秒)

別のキーワード

  1. optionparser on
  2. optparse on
  3. tracer on
  4. thread abort_on_exception
  5. thread abort_on_exception=

ライブラリ

クラス

モジュール

検索結果

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

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

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

WEBrick::HTTPResponse#request_method -> String | nil (21203.0)

リクエストの HTTP メソッドを返します。

リクエストの HTTP メソッドを返します。

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

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

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

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

@param options Hash か文字...
...CGI.new
cgi.out{ "string" }
# Content-Type: text/html
# Content-Length: 6
#
# string

cgi.out("text/plain"){ "string" }
# Content-Type: text/plain
# Content-Length: 6
#
# string

cgi.out({"nph"...
...OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type" => "text/html",
"charset" => "iso-2022-jp",
# Content-Type: text/html; charset=iso-2022-jp
"language" => "ja"...