commit 0dd2fd8db9bd92f31a5ea2dac0ae56b6bf736af8
parent 01a9381c5975edf27da237039a3f4aad1fea38ef
Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 20 Apr 2017 23:11:52 +0200
Tell servers to upgrade to HTTPS.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -69,6 +69,8 @@ static HttpHeader customheaders[] = {
{ "Accept-Language", "en-US,en;q=0.5" },
{ "Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" },
{ "Accept-Encoding", "gzip, deflate" },
+ /* We are ready for TLS. Is it still secure? */
+ { "Upgrade-Insecure-Requests", "1" },
};
#define PROMPT_GOTO "Go To"