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:15:24 +0100 |
commit | 734dcab8ec7a2716c94f98b4e46daa5ff6e370b4 (patch) | |
tree | 4ece131daca7cb27f5d8d3a76bc0459cc42c440e | |
parent | 3a2aaaacbf97f4bf0c72463f3da94ed2822a5442 (diff) | |
download | qutebrowser-734dcab8ec7a2716c94f98b4e46daa5ff6e370b4.tar.gz qutebrowser-734dcab8ec7a2716c94f98b4e46daa5ff6e370b4.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. |