24件ヒット
[1-24件を表示]
(0.016秒)
検索結果
-
CGI
:: QueryExtension # request _ method -> String (18134.0) -
ENV['REQUEST_METHOD'] を返します。
...
ENV['REQUEST_METHOD'] を返します。... -
CGI
# out(options = "text / html") { . . . . } (13.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
HEADリクエスト (REQUEST_METHOD == "HEAD") の場合は HTTP ヘッダのみを出力します。
charset が "iso-2022-jp"・"euc-jp"・"shift_jis" のいずれかで
ある場合は文字列エ......#
# string
cgi.out({"nph" => true,
"status" => "OK", # == "200 OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type" => "text/html",
"charset" => "iso-2...