Struct
SoupMessageHeaders
since: 3.0
Description [src]
struct SoupMessageHeaders {
/* No available fields */
}
The HTTP message headers associated with a request or response.
Available since: 3.0
Instance methods
soup_message_headers_clean_connection_headers
Removes all the headers listed in the Connection header.
since: 3.0
soup_message_headers_free_ranges
Frees the array of ranges returned from soup_message_headers_get_ranges().
since: 3.0
soup_message_headers_get_content_disposition
Looks up the “Content-Disposition” header in hdrs, parses it, and
returns its value in disposition and params.
since: 3.0
soup_message_headers_get_content_range
Parses hdrs‘s Content-Range header and returns it in start,
end, and total_length. If the total length field in the header
was specified as “*”, then total_length will be set to -1.
since: 3.0
soup_message_headers_get_content_type
Looks up the “Content-Type” header in hdrs, parses it, and returns
its value in content_type and params.
since: 3.0
soup_message_headers_get_expectations
Gets the expectations declared by hdrs‘s “Expect” header.
since: 3.0
soup_message_headers_get_ranges
Parses hdrs‘s Range header and returns an array of the requested
byte ranges.
since: 3.0
soup_message_headers_header_contains
Checks whether the list-valued header name is present in hdrs,
and contains a case-insensitive match for token.
since: 3.0
soup_message_headers_header_equals
Checks whether the header name is present in hdrs and is
(case-insensitively) equal to value.
since: 3.0
soup_message_headers_set_content_disposition
Sets the “Content-Disposition” header in hdrs to disposition,
optionally with additional parameters specified in params.
since: 3.0
soup_message_headers_set_content_length
Sets the message body length that hdrs will declare, and sets
hdrs‘s encoding to SOUP_ENCODING_CONTENT_LENGTH.
since: 3.0
soup_message_headers_set_content_range
Sets hdrs‘s Content-Range header according to the given values.
since: 3.0
soup_message_headers_set_content_type
Sets the “Content-Type” header in hdrs to content_type.
since: 3.0
soup_message_headers_set_expectations
Sets hdrs‘s “Expect” header according to expectations.
since: 3.0
soup_message_headers_set_ranges
Sets hdrs‘s Range header to request the indicated ranges.
since: 3.0