[PATCH] Remove deprecated DNT header

<[email protected]> Mon, 13 Apr 2026 09:09:29 +0000
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
--MP_/kx=Glz++Y=GL9=dr+0hMDDd
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

The 'Do Not Track' header has been abandoned by W3C and most major
browsers. Very few advertising companies actually supported DNT.

https://en.wikipedia.org/wiki/Do_Not_Track

Sending this header may actually make Dillo MORE trackable.

The attached patch removes it.

Regards,
Alex

--MP_/kx=Glz++Y=GL9=dr+0hMDDd
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename=0001-Remove-deprecated-DNT-header.patch

>From 88c696a720dab14601933147ff44ff802dd4ef1d Mon Sep 17 00:00:00 2001
From: Alex <[email protected]>
Date: Mon, 13 Apr 2026 08:57:26 +0000
Subject: [PATCH] Remove deprecated DNT header

The 'Do Not Track' header has been abandoned by W3C and most major
browsers. Very few advertising companies actually supported DNT.
---
 src/IO/http.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/IO/http.c b/src/IO/http.c
index 6c11c9f7..3f99e94a 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -431,7 +431,6 @@ static Dstr *Http_make_query_str(DilloWeb *web, bool_t use_proxy, bool_t use_tls
 #endif
          "\r\n"
          "%s" /* auth */
-         "DNT: 1\r\n"
          "%s" /* proxy auth */
          "%s" /* referer */
          "Connection: %s\r\n"
@@ -459,7 +458,6 @@ static Dstr *Http_make_query_str(DilloWeb *web, bool_t use_proxy, bool_t use_tls
 #endif
          "\r\n"
          "%s" /* auth */
-         "DNT: 1\r\n"
          "%s" /* proxy auth */
          "%s" /* referer */
          "Connection: %s\r\n"
-- 
2.51.0


--MP_/kx=Glz++Y=GL9=dr+0hMDDd
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected]
To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]

--MP_/kx=Glz++Y=GL9=dr+0hMDDd--