るりまサーチ

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

別のキーワード

  1. string []=
  2. string slice!
  3. string slice
  4. string []
  5. string gsub

ライブラリ

モジュール

検索結果

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

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

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

WEBrick::HTTPRequest#request_method -> String (18303.0)

クライアントのリクエストの HTTP メソッド(GET, POST,...)を文字列で返します。

クライアントのリクエストの HTTP メソッド(GET, POST,...)を文字列で返します。

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

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

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

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

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

...ックで与えられた文字列を標準出力に出力します。

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

charset が "iso-2022-jp"・"euc-jp"・"shift_jis" のいずれかで
ある場合は文字列エンコーディングを自...
...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"...
..."connection" => "close",
"type" => "text/html",
"charset" => "iso-2022-jp",
# Content-Type: text/html; charset=iso-2022-jp
"language" => "ja",
"expires" => Time.now + (3600 * 24 * 30),...