Session.acceptLanguageAuto

bool acceptLanguageAuto() @property

Get acceptLanguageAuto property.

Returns

If true, #SoupSession will automatically set the string

for the "Accept-Language" header on every class@Message sent, based on the return value of func@GLib.get_language_names.

Setting this will override any previous value of property@Session:accept-language.

void acceptLanguageAuto(bool propval) @property

Set acceptLanguageAuto property.

Parameters

propvalIf true, #SoupSession will automatically set the string for the "Accept-Language" header on every class@Message sent, based on the return value of func@GLib.get_language_names. Setting this will override any previous value of property@Session:accept-language.