Re: How can I define filters and actions to block all responses which is larger than 5MB?

Wen Yue <[email protected]> Mon, 29 Mar 2021 10:20:51 +0800
Newsgroups gmane.comp.web.privoxy.user
Message-ID <CAJZuUJBz3SdNwD2Rh3=shw6+Wm4-jAf4YjVWi+otedjzj5rC9A@mail.gmail.com>
Could someone help ? orz

On Fri, Mar 26, 2021 at 8:05 PM Wen Yue <[email protected]> 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