links

lynx-like text mode web browser
git clone anongit@rnpnr.xyz:links.git
Log | Files | Refs | Feed | README | LICENSE

Commit: ed921c6f42f1668825ae31393171a77c880569de
Parent: ae37dfb8b7d351c4372e747084ffff0e96f4b4cf
Author: 0x766F6964
Date:   Thu, 24 Oct 2019 09:16:07 -0600

never add DNT to http header

this is ignored by every site where it would be relevant

Diffstat:
Mhttp.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/http.c b/http.c @@ -345,8 +345,6 @@ added_connect: add_accept(&hdr, &l); add_accept_encoding(&hdr, &l, host, c); add_accept_charset(&hdr, &l, info); - /* Always add DNT */ - add_to_str(&hdr, &l, cast_uchar "DNT: 1\r\n"); add_connection(&hdr, &l, http10, proxy, !info->send_close); add_upgrade(&hdr, &l); add_if_modified(&hdr, &l, c);