[Privoxy-users] How can I define filters and actions to block all responses which is larger than 5MB?
Wen Yue
miles.wy.1 at gmail.com
Mon Mar 29 02:20:51 UTC 2021
Could someone help ? orz
On Fri, Mar 26, 2021 at 8:05 PM Wen Yue <miles.wy.1 at gmail.com> wrote:
> hi there,
>
> As the title says, how can I define such filters and actions?
>
> Maybe the really hard part is how to describe 'larger than 5MB' using pure
> regular expression.
> I tried to tag out all responses larger than 5MB using a pair of filter
> and server-header-tagger action, but the regular expression in the
> filter definition is awkward.
>
> Is there any better way?
>
> Thanks in advance for any reply.
>
> --
> Regards.
> Wen Yue
>
--
Regards.
Wen Yue
More information about the Privoxy-users
mailing list