108件ヒット
[101-108件を表示]
(0.064秒)
ライブラリ
-
net
/ http (108)
キーワード
- body (12)
- body= (12)
-
body
_ exist? (12) -
body
_ stream (12) -
body
_ stream= (12) - method (12)
- path (12)
-
request
_ body _ permitted? (12) -
response
_ body _ permitted? (12)
検索結果
-
Net
:: HTTPGenericRequest # response _ body _ permitted? -> bool (2.0) -
サーバからのレスポンスにエンティティボディを含むことが許されている HTTP メソッド (GET, POST など)の場合真を返します。
サーバからのレスポンスにエンティティボディを含むことが許されている
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.r...