summaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
authorcorvid <corvid@dillo.org>2013-09-15 18:48:13 +0000
committercorvid <corvid@dillo.org>2013-09-15 18:48:13 +0000
commitb2be12828a20c54b325a4f31ca62959ea12f642b (patch)
treee58e62b7768a99b50863bcaf6ffa4d661323ca6b /src/IO/http.c
parent0ab4edb3001ca79c51be6f050e7e8f92ff823410 (diff)
DNT will at least do no harm
The whole situation is a manifestation of corporate rule, but - it seems that the EU has some data protection laws that could make it worth something in principle there. - some large corporations have been shamed into claiming that they will do a tiny bit of something based on the header value.
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index 62cbc08b..1af1996d 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -300,6 +300,7 @@ Dstr *a_Http_make_query_str(const DilloUrl *url, const DilloUrl *requester,
"Accept-Encoding: gzip\r\n"
"%s" /* language */
"%s" /* auth */
+ "DNT: 1\r\n"
"Host: %s\r\n"
"%s"
"%s"
@@ -325,6 +326,7 @@ Dstr *a_Http_make_query_str(const DilloUrl *url, const DilloUrl *requester,
"Accept-Encoding: gzip\r\n"
"%s" /* language */
"%s" /* auth */
+ "DNT: 1\r\n"
"Host: %s\r\n"
"%s"
"%s"