Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
These similar methods exist in v2_5_5:
chunked?()
public
Returns “true” if the “transfer-encoding” header is present and set
to “chunked”. This is an HTTP/1.1
feature, allowing the the content to be sent in “chunks” without at the
outset stating the entire content length.
Show source
def chunked?
return false unless @header['transfer-encoding']
field = self['Transfer-Encoding']
(/(?:\A|[^\-\w])chunked(?![\-\w])/ =~ field) ? true : false
end