chunked?() Instance Public methods 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.
connection_close?() Instance Public methods
connection_keep_alive?() Instance Public methods
content_length() Instance Public methods Returns an Integer object which represents the HTTP Content-Length: header field, or nil if that field was not provided.
content_length=(len) Instance Public methods
content_range() Instance Public methods Returns a Range object which represents the value of the Content-Range: header field. For a partial entity body, this indicates where this fragment fits inside the full entity body, as range of byte offsets.
content_type() Instance Public methods Returns a content type string such as âtext/htmlâ. This method returns nil if Content-Type: header field does not exist.
content_type=(type, params = {}) Instance Public methods Alias for: set_content_type
delete(key) Instance Public methods Removes a header field, specified by case-insensitive key.
each() Instance Public methods Alias for: each_header
Page 628 of 11844