211件ヒット
[201-211件を表示]
(0.129秒)
クラス
- BasicSocket (12)
- CGI (24)
- Dir (19)
- IO (12)
- StringIO (72)
- Tempfile (12)
-
Zlib
:: Deflate (12) -
Zlib
:: GzipReader (36)
モジュール
-
OpenURI
:: OpenRead (12)
キーワード
- children (7)
-
close
_ read (12) -
close
_ write (12) - closed? (12)
-
closed
_ read? (12) -
closed
_ write? (12) - flush (12)
- gets (12)
- header (12)
- open (12)
- out (12)
- path (12)
- read (24)
- readline (12)
- readpartial (12)
- recv (12)
検索結果
-
CGI
# out(options = "text / html") { . . . . } (37.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...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"......e,
"status" => "OK", # == "200 OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type" => "text/html",
"charset" => "iso-2022-jp",
# Content-Type: text/html; char......set=iso-2022-jp
"language" => "ja",
"expires" => Time.now + (3600 * 24 * 30),
"cookie" => [cookie1, cookie2],
"my_header1" => "my_value",
"my_header2" => "my_value"}){ "string" }
@see CGI#header...