るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.069秒)
トップページ > クエリ:l[x] > クエリ:FALSE[x] > クエリ:chunked?[x]

別のキーワード

  1. object false
  2. _builtin false
  3. rb_false
  4. false _builtin
  5. false object

ライブラリ

モジュール

検索結果

Net::HTTPHeader#chunked? -> bool (18219.0)

Transfer-Encoding: ヘッダフィールドが "chunked" である 場合に真を返します。

...ったり、
"chunked" 以外である場合には偽を返します。

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

uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.chunked? # => false
req["Transfer-Encoding"] = "chunked"
req.chunked? # => true
//}...