504件ヒット
[501-504件を表示]
(0.096秒)
ライブラリ
クラス
- CGI (24)
- Mutex (2)
-
Net
:: FTP (12) -
Net
:: HTTP (48) -
Net
:: IMAP (12) -
Net
:: IMAP :: StatusData (24) -
OpenSSL
:: OCSP :: BasicResponse (24) -
OpenSSL
:: OCSP :: Response (24) -
PTY
:: ChildExited (12) -
Process
:: Status (180) - SystemExit (12)
- Thread (24)
-
Thread
:: Mutex (10) -
WEBrick
:: HTTPResponse (84)
モジュール
-
OpenURI
:: Meta (12)
キーワード
- & (12)
- == (12)
- >> (12)
-
add
_ status (12) - attr (12)
- coredump? (12)
- exited? (12)
- exitstatus (12)
- header (12)
- inspect (12)
- mailbox (12)
- out (12)
- pid (12)
- post2 (24)
-
reason
_ phrase (12) -
reason
_ phrase= (12) -
request
_ post (24) -
set
_ error (12) -
set
_ redirect (12) - signaled? (12)
- sleep (12)
- status= (12)
-
status
_ line (12) -
status
_ string (12) - stop? (12)
- stopped? (12)
- stopsig (12)
- success? (12)
- termsig (12)
-
to
_ i (12) -
to
_ s (12) - wakeup (12)
検索結果
-
CGI
# out(options = "text / html") { . . . . } (107.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
HEADリクエスト (REQUEST_METHOD == "HEAD") の場合は HTTP ヘッダのみを出力します。
charset が "iso-2022-jp"・"euc-jp"・"shift_jis" のいずれかで
ある場合は文字列エ......す。
@param options Hash か文字列で HTTP ヘッダを生成するための情報を指定します。
例:
cgi = CGI.new
cgi.out{ "string" }
# Content-Type: text/html
# Content-Length: 6
#
# string
cgi.out("text/plain"){ "st......nt-Type: text/plain
# Content-Length: 6
#
# string
cgi.out({"nph" => true,
"status" => "OK", # == "200 OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type"...