732件ヒット
[1-100件を表示]
(0.028秒)
ライブラリ
-
cgi
/ core (24) -
cgi
/ html (24) -
net
/ http (360) -
net
/ imap (168) -
rdoc
/ context (12) -
webrick
/ httpresponse (72) -
webrick
/ httpservlet / abstract (72)
クラス
- CGI (12)
-
Net
:: HTTP (300) -
Net
:: HTTPGenericRequest (12) -
Net
:: HTTPResponse (48) -
Net
:: IMAP :: BodyTypeBasic (48) -
Net
:: IMAP :: BodyTypeMessage (48) -
Net
:: IMAP :: BodyTypeMultipart (24) -
Net
:: IMAP :: BodyTypeText (48) -
RDoc
:: Context :: Section (12) -
WEBrick
:: HTTPResponse (72) -
WEBrick
:: HTTPServlet :: AbstractServlet (72)
モジュール
-
CGI
:: HtmlExtension (24) -
CGI
:: QueryExtension (12)
キーワード
- body= (12)
- chunked= (12)
-
content
_ id (36) -
content
_ length (12) -
content
_ length= (12) -
create
_ body (12) - description (36)
- disposition (48)
-
do
_ DELETE (12) -
do
_ GET (12) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (12) -
do
_ PUT (12) - entity (12)
- extension (48)
- get (24)
- get2 (24)
- head2 (24)
- header (12)
- html (24)
- lock (12)
- mkcol (12)
- move (12)
- patch (24)
- post (24)
- post2 (24)
- propfind (12)
- proppatch (12)
-
read
_ body (24) -
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
response
_ body _ permitted? (12) -
send
_ request (12) -
set
_ comment (12) -
to
_ s (12) - unlock (12)
検索結果
先頭5件
-
Net
:: HTTPResponse # body -> String | () | nil (21114.0) -
エンティティボディを返します。
...エンティティボディを返します。
レスポンスにボディがない場合には nil を返します。
Net::HTTPResponse#read_body をブロック付きで呼んだ場合には
このメソッドはNet::ReadAdapter のインスタンスを返しますが、
これは使わないで......ください。
entity は obsolete です。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.body[0..10] # => "<!doctype h"
//}... -
WEBrick
:: HTTPResponse # body -> String | IO (21108.0) -
クライアントに返す内容(エンティティボディ)を返します。
...クライアントに返す内容(エンティティボディ)を返します。
自身が chunked であっても body の値はチャンク形式ではありません。... -
Net
:: HTTPGenericRequest # response _ body _ permitted? -> bool (12214.0) -
サーバからのレスポンスにエンティティボディを含むことが許されている HTTP メソッド (GET, POST など)の場合真を返します。
...合真を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
post = Net::HTTP::Post.new(uri.request_uri)
post.response_body_permitted? # => true
head = Net::HTTP::Head.new(uri.request_uri)
head.response_body_permitted? # => false
//}... -
Net
:: IMAP :: BodyTypeBasic # disposition -> Net :: IMAP :: ContentDisposition | nil (9301.0) -
Content-Dispotition の値を返します。
...Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183... -
Net
:: IMAP :: BodyTypeMessage # disposition -> Net :: IMAP :: ContentDisposition | nil (9301.0) -
Content-Dispotition の値を返します。
...Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183... -
Net
:: IMAP :: BodyTypeMultipart # disposition -> Net :: IMAP :: ContentDisposition | nil (9301.0) -
Content-Dispotition の値を返します。
...Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183... -
Net
:: IMAP :: BodyTypeText # disposition -> Net :: IMAP :: ContentDisposition | nil (9301.0) -
Content-Dispotition の値を返します。
...Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183... -
WEBrick
:: HTTPResponse # content _ length -> Integer | nil (9131.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......ません。
: body が IO オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダはレスポンスに含まれず、IO から全てを読み込ん
でそれをエンティティボディとします。nil でないとき IO から content_length バイ......を
エンティティボディとします。
また 2616 4.4 で定められた Content-Length ヘッダを送ってはいけない場合に当てはまる時には
content_length の値は無視され Content-Length ヘッダはレスポンスに含まれません。
@param len ヘッダの... -
WEBrick
:: HTTPResponse # content _ length=(len) (9131.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......ません。
: body が IO オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダはレスポンスに含まれず、IO から全てを読み込ん
でそれをエンティティボディとします。nil でないとき IO から content_length バイ......を
エンティティボディとします。
また 2616 4.4 で定められた Content-Length ヘッダを送ってはいけない場合に当てはまる時には
content_length の値は無視され Content-Length ヘッダはレスポンスに含まれません。
@param len ヘッダの...