Constants

COOKIE_MAX_AGE_ONE_DAY = 0

A constant corresponding to 1 day.

For use with new and set_max_age.

COOKIE_MAX_AGE_ONE_HOUR = 3600

A constant corresponding to 1 hour.

For use with new and set_max_age.

COOKIE_MAX_AGE_ONE_WEEK = 0

A constant corresponding to 1 week.

For use with new and set_max_age.

COOKIE_MAX_AGE_ONE_YEAR = 0

A constant corresponding to 1 year.

For use with new and set_max_age.

FORM_MIME_TYPE_MULTIPART = multipart/form-data

A macro containing the value multipart/form-data; the MIME type used for posting form data that contains files to be uploaded.

FORM_MIME_TYPE_URLENCODED = application/x-www-form-urlencoded

A macro containing the value application/x-www-form-urlencoded; the default MIME type for POSTing HTML form data.

HSTS_POLICY_MAX_AGE_PAST = 0

An expiration date that is always in the past.

HTTP_URI_FLAGS = 482

The set of UriFlags libsoup expects all Uri to use.

MAJOR_VERSION = 3

Like get_major_version, but from the headers used at application compile time, rather than from the library linked against at application run time.

MICRO_VERSION = 4

Like get_micro_version, but from the headers used at application compile time, rather than from the library linked against at application run time.

MINOR_VERSION = 4

Like get_minor_version, but from the headers used at application compile time, rather than from the library linked against at application run time.

VERSION_MIN_REQUIRED = 2

A macro that should be defined by the user prior to including libsoup.h.

The definition should be one of the predefined libsoup version macros: %SOUP_VERSION_2_24, %SOUP_VERSION_2_26, …

This macro defines the earliest version of libsoup that the package is required to be able to compile against.

If the compiler is configured to warn about the use of deprecated functions, then using functions that were deprecated in version VERSION_MIN_REQUIRED or earlier will cause warnings (but using functions deprecated in later releases will not).