33件ヒット
[1-33件を表示]
(0.102秒)
ライブラリ
-
net
/ http (11) -
webrick
/ httpresponse (22)
クラス
-
Net
:: HTTPGenericRequest (11) -
WEBrick
:: HTTPResponse (22)
キーワード
-
request
_ uri= (11) -
response
_ body _ permitted? (11)
検索結果
先頭3件
-
WEBrick
:: HTTPResponse # request _ uri -> URI | nil (21102.0) -
リクエストの URI を返します。
リクエストの URI を返します。 -
WEBrick
:: HTTPResponse # request _ uri=(uri) (9102.0) -
リクエストの URI をセットします。 デフォルトは nil です。
リクエストの URI をセットします。
デフォルトは nil です。
@param uri リクエストの URI を URI オブジェクトで指定します。 -
Net
:: HTTPGenericRequest # response _ body _ permitted? -> bool (6126.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
//}...