624件ヒット
[1-100件を表示]
(0.129秒)
別のキーワード
ライブラリ
-
net
/ http (336) -
net
/ imap (132) - open-uri (72)
-
rexml
/ document (12) -
rubygems
/ package / tar _ output (12) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (36) -
webrick
/ httputils (12)
クラス
-
Gem
:: Package :: TarOutput (12) -
Net
:: HTTP (180) -
Net
:: HTTPGenericRequest (24) -
Net
:: IMAP :: BodyTypeBasic (36) -
Net
:: IMAP :: BodyTypeMessage (36) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: BodyTypeText (36) -
Net
:: IMAP :: ContentDisposition (12) -
REXML
:: Instruction (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (36) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
Net
:: HTTPHeader (132) -
OpenURI
:: Meta (60) -
OpenURI
:: OpenRead (12)
キーワード
- [] (24)
-
add
_ gem _ contents (12) -
body
_ stream (12) -
body
_ stream= (12) - charset (24)
-
content
_ encoding (12) -
content
_ id (36) -
content
_ length (24) -
content
_ length= (12) -
content
_ range (12) -
content
_ type (48) - delete (12)
- description (36)
- disposition (48)
- fetch (36)
- get2 (24)
- head (12)
- head2 (24)
-
main
_ type (12) - param (12)
- post (24)
- post2 (24)
-
range
_ length (12) - read (12)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
sub
_ type (12)
検索結果
先頭5件
-
REXML
:: Instruction # content -> String | nil (18215.0) -
XML 処理命令の内容を返します。
...ersion="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}... -
WEBrick
:: HTTPResponse # content _ length -> Integer | nil (6280.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......IO オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダはレスポンスに含まれず、IO から全てを読み込ん
でそれをエンティティボディとします。nil でないとき IO から content_length バイトだけ読み込み......を
エンティティボディとします。
また 2616 4.4 で定められた Content-Length ヘッダを送ってはいけない場合に当てはまる時には
content_length の値は無視され Content-Length ヘッダはレスポンスに含まれません。
@param len ヘッダの... -
Net
:: HTTPHeader # content _ type -> String|nil (6243.0) -
"text/html" のような Content-Type を表す 文字列を返します。
..."text/html" のような Content-Type を表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/comments.cgi?post=comment')
req = Net::HTTP::Post.......new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data'
req.content_type # => "multipart/form-data"
//}... -
Net
:: HTTPHeader # content _ length -> Integer|nil (6237.0) -
Content-Length: ヘッダフィールドの表している値を整数で返します。
...Content-Length: ヘッダフィールドの表している値を整数で返します。
ヘッダが設定されていない場合には nil を返します。
@raise Net::HTTPHeaderSyntaxError フィールドの値が不正である場合に
発生します。......//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_length # => nil
req.content_length = 10
req.content_length # => 10
//}... -
Net
:: HTTPHeader # content _ range -> Range|nil (6237.0) -
Content-Range: ヘッダフィールドの値を Range で返します。 Range の表わす長さは Net::HTTPHeader#range_length で得られます。
...
Content-Range: ヘッダフィールドの値を Range で返します。
Range の表わす長さは Net::HTTPHeader#range_length で得られます。
ヘッダが設定されていない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.exa......mple.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_range # => nil
req['Content-Range'] = "bytes 0-499/1234"
req.content_range # => 0..499
//}... -
Net
:: IMAP :: BodyTypeBasic # content _ id -> String | nil (6219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (6219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (6219.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
WEBrick
:: HTTPRequest # content _ type -> String | nil (6219.0) -
リクエストの Content-Type ヘッダを文字列で返します。
...リクエストの Content-Type ヘッダを文字列で返します。...