480件ヒット
[101-200件を表示]
(0.133秒)
ライブラリ
- ビルトイン (12)
-
cgi
/ core (48) -
net
/ http (108) -
net
/ imap (132) - open-uri (60)
-
rdoc
/ markup (12) -
rexml
/ document (24) -
webrick
/ httprequest (24) -
webrick
/ httpresponse (48) -
webrick
/ httputils (12)
クラス
- CGI (36)
- IO (12)
-
Net
:: IMAP :: BodyTypeBasic (36) -
Net
:: IMAP :: BodyTypeMessage (36) -
Net
:: IMAP :: BodyTypeText (36) -
Net
:: IMAP :: ContentDisposition (24) -
RDoc
:: Markup (12) -
REXML
:: Instruction (24) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (48) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
CGI
:: QueryExtension (12) -
Net
:: HTTPHeader (108) -
OpenURI
:: Meta (48) -
OpenURI
:: OpenRead (12)
キーワード
- [] (24)
- charset (24)
-
content
_ encoding (12) -
content
_ id (36) -
content
_ length (12) -
content
_ length= (12) -
content
_ type (60) - delete (12)
- description (36)
-
dsp
_ type (12) - encoding (36)
- fetch (36)
-
get
_ fields (12) - header (12)
-
main
_ type (12) - out (12)
- param (12)
- print (12)
- query (12)
- read (12)
- readpartial (12)
-
sub
_ type (12) - target (12)
-
to
_ s (12)
検索結果
先頭5件
-
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (12319.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (12319.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
WEBrick
:: HTTPRequest # content _ type -> String | nil (12319.0) -
リクエストの Content-Type ヘッダを文字列で返します。
...リクエストの Content-Type ヘッダを文字列で返します。... -
WEBrick
:: HTTPResponse # content _ type -> String | nil (12319.0) -
Content-Type ヘッダの値を返します。
...Content-Type ヘッダの値を返します。... -
WEBrick
:: HTTPResponse # content _ length=(len) (12285.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダはレスポンスに含まれず、IO から全てを読み込ん
でそれをエンティティボディとします。nil でないとき IO から content_length バイトだけ読み込みそ......エンティティボディとします。
また 2616 4.4 で定められた Content-Length ヘッダを送ってはいけない場合に当てはまる時には
content_length の値は無視され Content-Length ヘッダはレスポンスに含まれません。
@param len ヘッダの値... -
Net
:: IMAP :: ContentDisposition # dsp _ type -> String (9218.0) -
Content-Disposition フィールドのタイプを文字列で返します。
...Content-Disposition フィールドのタイプを文字列で返します。
"INLINE", "ATTACHMENT" などの文字列を返します。
詳しくは 2183 などを見てください。... -
Net
:: IMAP :: ContentDisposition # param -> { String => String } | nil (6419.0) -
Content-Disposition フィールドのパラメータをハッシュテーブルで 返します。
...Content-Disposition フィールドのパラメータをハッシュテーブルで
返します。
ハッシュテーブルのキーは以下のような値を取ります。詳しくは
2183 などを見てください。
* "FILENAME"
* "CREATION-DATE"
* "MODIFICATION-DATE"
* "READ-DAT"... -
Net
:: HTTPHeader # fetch(key) -> String (6234.0) -
key ヘッダフィールドを返します。
...ルドを返します。
たとえばキー 'content-length' に対しては '2048'
のような文字列が得られます。キーが存在しなければ nil を返します。
該当するキーが登録されてい
ない時には、引数 default が与えられていればその値を、......efault 該当するキーが登録されていない時の返り値を指定します。
@raise IndexError 引数defaultもブロックも与えられてない時、キーの探索に 失敗すると発生します。
//emlist[例 key のみ指定。key が存在する][ruby]{
require 'net/http'
u......http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.fetch("user-agent") # => "Ruby"
//}
//emlist[例 key のみ指定。key が存在しない][ruby]{
require 'net/http'
begin
req.fetch("content-length")
rescue => e
e # => #<KeyError: key not found: "content-lengt... -
Net
:: HTTPHeader # fetch(key) {|hash| . . . . } -> String (6234.0) -
key ヘッダフィールドを返します。
...ルドを返します。
たとえばキー 'content-length' に対しては '2048'
のような文字列が得られます。キーが存在しなければ nil を返します。
該当するキーが登録されてい
ない時には、引数 default が与えられていればその値を、......efault 該当するキーが登録されていない時の返り値を指定します。
@raise IndexError 引数defaultもブロックも与えられてない時、キーの探索に 失敗すると発生します。
//emlist[例 key のみ指定。key が存在する][ruby]{
require 'net/http'
u......http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.fetch("user-agent") # => "Ruby"
//}
//emlist[例 key のみ指定。key が存在しない][ruby]{
require 'net/http'
begin
req.fetch("content-length")
rescue => e
e # => #<KeyError: key not found: "content-lengt...