168件ヒット
[101-168件を表示]
(0.137秒)
ライブラリ
クラス
- CGI (24)
-
Net
:: FTP (12) -
Net
:: IMAP (12) -
Net
:: IMAP :: StatusData (24) -
OpenSSL
:: OCSP :: Response (24) -
Process
:: Status (24) - Thread (12)
-
WEBrick
:: HTTPResponse (24)
モジュール
-
OpenURI
:: Meta (12)
キーワード
- attr (12)
- header (12)
- inspect (12)
- mailbox (12)
- out (12)
-
reason
_ phrase (12) -
status
_ line (12) -
status
_ string (12) -
to
_ s (12)
検索結果
先頭5件
-
Net
:: IMAP :: StatusData # attr -> { String => Integer } (3118.0) -
STATUS 応答の内容をハッシュで返します。
...STATUS 応答の内容をハッシュで返します。
ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。
詳しくは 2060 の 6.3.10、7.2.4 を見てください。... -
Net
:: IMAP :: StatusData # mailbox -> String (3102.0) -
メールボックス名を返します。
メールボックス名を返します。 -
Process
:: Status # to _ s -> String (3102.0) -
to_i.to_s と同じです。
to_i.to_s と同じです。 -
CGI
# header(options = "text / html") -> String (132.0) -
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。
...ダにもデフォルト値をセットします。
偽を指定する場合は、これらの値を明示的にセットしてください。
: status
HTTP のステータスコードを指定します。
このリストの下に利用可能なステータスコードのリストがありま......インスタンス、またはそれらの配列かハッシュを指定します。
一つ以上の Set-Cookie ヘッダに対応します。
status パラメータには以下の文字列が使えます。
"OK" --> "200 OK"
"PARTIAL_CONTENT" --> "206 Partia......header("text/plain")
# Content-Type: text/plain
header({"nph" => true,
"status" => "OK", # == "200 OK"
# "status" => "200 GOOD",
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",... -
WEBrick
:: HTTPResponse # reason _ phrase -> String | nil (118.0) -
HTTP のレスポンスの最初の行の reason phrase を返します。 この値が nil の場合 reason phrase は status から生成されます。 デフォルトは nil です。
...HTTP のレスポンスの最初の行の reason phrase を返します。
この値が nil の場合 reason phrase は status から生成されます。
デフォルトは nil です。... -
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"......=> true,
"status" => "OK", # == "200 OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type" => "text/html",
"charset" => "iso-2022-jp",
# Content-Type: tex......tml; charset=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...