diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-01-20 12:15:24 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-01-20 12:22:32 +0100 |
commit | f1d8dc59d79bf16d378885a628c96aa8a3036b74 (patch) | |
tree | 8768a3cae73972956ee00f1e245e14354dd65f8e | |
parent | 6d3dde74d8e8e5399f404b823382bdafc274d3a0 (diff) | |
download | qutebrowser-f1d8dc59d79bf16d378885a628c96aa8a3036b74.tar.gz qutebrowser-f1d8dc59d79bf16d378885a628c96aa8a3036b74.zip |
Allow empty strings for content.headers.custom
-rw-r--r-- | doc/changelog.asciidoc | 2 | ||||
-rw-r--r-- | qutebrowser/config/configdata.yml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index ff32bf011..a446ec534 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -45,6 +45,8 @@ Changed - The `qute-bitwarden` userscript understands a new `--password-prompt-invocation`, which can be used to specify a tool other than `rofi` to ask for a password. +- The `content.headers.custom` setting now accepts empty strings as values, + resulting in an empty header being sent. Added ~~~~~ diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index b0d9c6364..cf5e4665a 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -616,6 +616,7 @@ content.headers.custom: valtype: name: String encoding: ascii + none_ok: true none_ok: true supports_pattern: true desc: Custom headers for qutebrowser HTTP requests. |