about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xombrero.c b/xombrero.c
index 71ba37b..f40d65c 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -4940,6 +4940,9 @@ webview_rrs_cb(WebKitWebView *wv, WebKitWebFrame *wf, WebKitWebResource *res,
 		}
 	}
 
+	if (do_not_track)
+		soup_message_headers_append(msg->request_headers, "DNT", "1");
+
 	/* Round-robin through HTTP Accept headers if any have been set */
 	if (!RB_EMPTY(&ha_list)) {
 		accept = soup_message_headers_get_list(msg->request_headers,