summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-01-20 12:15:24 +0100
committerFlorian Bruhin <me@the-compiler.org>2022-01-20 12:15:24 +0100
commit734dcab8ec7a2716c94f98b4e46daa5ff6e370b4 (patch)
tree4ece131daca7cb27f5d8d3a76bc0459cc42c440e
parent3a2aaaacbf97f4bf0c72463f3da94ed2822a5442 (diff)
downloadqutebrowser-734dcab8ec7a2716c94f98b4e46daa5ff6e370b4.tar.gz
qutebrowser-734dcab8ec7a2716c94f98b4e46daa5ff6e370b4.zip
Allow empty strings for content.headers.custom
-rw-r--r--doc/changelog.asciidoc2
-rw-r--r--qutebrowser/config/configdata.yml1
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.