From dae65220a4dc2951017de78bc8c6e861aa90631e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 2 Feb 2020 20:33:31 +0100 Subject: Add classifier to default accept-language --- doc/changelog.asciidoc | 3 +++ doc/help/settings.asciidoc | 2 +- qutebrowser/config/configdata.yml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 5693f174b..818ed34ce 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -46,6 +46,9 @@ Changed monospaced font is used. - If `monospace` is now used in a font value, it's used literally and not replaced anymore. Instead, `default_family` is replaced as explained above. +- The default `content.headers.accept_language` value now adds a `;q=0.9` + classifier which should make the value sent more in-line with what other + browsers do. - The `qute-pass` userscript now has a new `--mode gopass` switch which uses gopass rather than pass. - The `tox -e mkvenv` (or `mkvenv-pypi`) way of installing qutebrowser is now diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index ffee2c7c6..92f6a3a51 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -1834,7 +1834,7 @@ This setting supports URL patterns. Type: <> -Default: +pass:[en-US,en]+ +Default: +pass:[en-US,en;q=0.9]+ [[content.headers.custom]] === content.headers.custom diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index 31504ced3..d597e4909 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -437,7 +437,7 @@ content.headers.accept_language: name: String none_ok: true supports_pattern: true - default: en-US,en + default: en-US,en;q=0.9 desc: >- Value to send in the `Accept-Language` header. -- cgit v1.2.3-54-g00ecf