X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=e8bc150fb0265b63e51cc60313173a4f553a5395;hp=548befe67d21eca793ee8e20a8cce080079c7844;hb=e34250c7b157d8fc601afc6ca7692175c0fc89ca;hpb=c5a8c4496dc51ee5a4cdeb65d6275a08e18d0a79 diff --git a/default.filter b/default.filter index 548befe6..e8bc150f 100644 --- a/default.filter +++ b/default.filter @@ -4,7 +4,7 @@ # # Purpose : Rules to process the content of web pages # -# Copyright : Written by and Copyright (C) 2001-2018 the +# Copyright : Written by and Copyright (C) 2001-2020 the # Privoxy team. https://www.privoxy.org/ # # This program is free software; you can redistribute it @@ -743,6 +743,16 @@ CLIENT-HEADER-FILTER: hide-tor-exit-notation Removes the Tor exit node notation s@^((?:Referer|Host):\s*(?:https?://)?[^/]*)\.[^\./]*?\.exit@$1@i +################################################################################# +# +# no-brotli-accepted: Strips "br" from the Accept-Encoding header as Privoxy +# currently doesn't support Brotli. +# +################################################################################# +CLIENT-HEADER-FILTER: no-brotli-accepted Strip "br" from Accept-Encoding header + +s@(^Accept-Encoding:.*?)(?:br, |, br|br)@$1@i + ################################################################################# # # less-download-windows: Prevents annoying download windows for content types