Session.acceptLanguageAuto

Get acceptLanguageAuto property.

  1. bool acceptLanguageAuto [@property getter]
    class Session
    @property
    bool
    acceptLanguageAuto
    ()
  2. bool acceptLanguageAuto [@property setter]

Return Value

Type: bool

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.