22件ヒット
[1-22件を表示]
(0.125秒)
別のキーワード
検索結果
-
CGI
:: QueryExtension # server _ software -> String (21118.0) -
ENV['SERVER_SOFTWARE'] を返します。
...ENV['SERVER_SOFTWARE'] を返します。... -
CGI
# out(options = "text / html") { . . . . } (6107.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...します。
HEADリクエスト (REQUEST_METHOD == "HEAD") の場合は HTTP ヘッダのみを出力します。
charset が "iso-2022-jp"・"euc-jp"・"shift_jis" のいずれかで
ある場合は文字列エンコーディングを自動変換し、language を "ja"にします。
@param opt......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" => true,......"status" => "OK", # == "200 OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type" => "text/html",
"charset" => "iso-2022-jp",
# Content-Type: text/html; charset=i...