るりまサーチ

最速Rubyリファレンスマニュアル検索!
59件ヒット [1-59件を表示] (0.009秒)
トップページ > クエリ:perm[x] > ライブラリ:net/http[x]

別のキーワード

  1. net/ftp perm
  2. mlsxentry perm
  3. perm net/ftp
  4. perm net::ftp::mlsxentry

検索結果

Net::HTTPGenericRequest#request_body_permitted? -> bool (6102.0)

リクエストにエンティティボディを一緒に送ることが許されている HTTP メソッド (POST など)の場合真を返します。

...場合真を返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
post = Net::HTTP::Post.new(uri.request_uri)
post.request_body_permitted? # => true

head = Net::HTTP::Head.new(uri.request_uri)
head.request_body_permitted? # => false
//}...

Net::HTTPGenericRequest#response_body_permitted? -> bool (6102.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::HTTPResponse.body_permitted? -> bool (6102.0)

エンティティボディを含むことが許されているレスポンスクラス ならば真を、そうでなければ偽を返します。

...エンティティボディを含むことが許されているレスポンスクラス
ならば真を、そうでなければ偽を返します。

//emlist[例][ruby]{
require 'net/http'

Net::HTTPSuccess.body_permitted? # => true
Net::HTTPNotModified.body_permitted? # => false
//}...

Net::HTTPMovedPermanently (6002.0)

HTTP レスポンス 301 (Moved Permanently) を表現するクラスです。

...HTTP レスポンス 301 (Moved Permanently) を表現するクラスです。

詳しくは 7231 Section 6.4.2 を見てください。...

Net::HTTPPermanentRedirect (6002.0)

HTTP レスポンス 308 (Permanent Redirect) を表現するクラスです。

...HTTP レスポンス 308 (Permanent Redirect) を表現するクラスです。

詳しくは 7538 を見てください。...

絞り込み条件を変える