Struct
SoupMessageHeaders
Description [src]
struct SoupMessageHeaders {
/* No available fields */
}
The HTTP message headers associated with a request or response.
Instance methods
soup_message_headers_clean_connection_headers
Removes all the headers listed in the Connection header.
soup_message_headers_free_ranges
Frees the array of ranges returned from soup_message_headers_get_ranges().
soup_message_headers_get_content_disposition
Looks up the “Content-Disposition” header in hdrs, parses it, and
returns its value in disposition and params.
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.
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.
soup_message_headers_get_ranges
Parses hdrs‘s Range header and returns an array of the requested
byte ranges.
soup_message_headers_header_contains
Checks whether the list-valued header name is present in hdrs,
and contains a case-insensitive match for token.
soup_message_headers_header_equals
Checks whether the header name is present in hdrs and is
(case-insensitively) equal to value.
soup_message_headers_set_content_disposition
Sets the “Content-Disposition” header in hdrs to disposition,
optionally with additional parameters specified in params.
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.
soup_message_headers_set_content_range
Sets hdrs‘s Content-Range header according to the given values.