each_capitalized_name

each_capitalized_name() Instance Public methods Iterates through the header names in the header, passing capitalized header names to the code block. Note that header names are capitalized systematically; capitalization may not match that used by the remote HTTP server in its response.

each_capitalized

each_capitalized() Instance Public methods As for each_header, except the keys are provided in capitalized form. Note that header names are capitalized systematically; capitalization may not match that used by the remote HTTP server in its response. canonical_each

each

each() Instance Public methods Alias for: each_header

delete

delete(key) Instance Public methods Removes a header field, specified by case-insensitive key.

content_type=

content_type=(type, params = {}) Instance Public methods Alias for: set_content_type

content_type

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_range

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_length=

content_length=(len) Instance Public methods

content_length

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.

connection_keep_alive?

connection_keep_alive?() Instance Public methods