[Privoxy-devel] filterable files

Fabian Keil fk at fabiankeil.de
Thu Jun 8 16:18:37 UTC 2017


Lee <ler762 at gmail.com> wrote:

> Maybe a web-caching server is misbehaving??  Can someone try going to
>   http://i.imgur.com/Q8kV8.png
> reloading the page & see if privoxy tries to filter it?
> 
> The first time I go there I get back a header with
>   Content-Type: image/png
> so privoxy doesn't try to filter it.  If I then click on reload, firefox adds a
>   If-Modified-Since: Thu, 05 Jan 2012 15:10:40 GMT
> header.  The response headers do not have a content type header, so
> privoxy assumes it's filterable.

304 responses aren't allowed to have a body (and aren't
supposed to contain the Content-Type header).

With LOG_LEVEL_CONNECT I get the expected message
"Connect: Done reading from server. Content length: 0 as expected. Bytes most recently read: 0."
when getting a response for a conditional request so there is
nothing to buffer and filter.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20170608/a91c9e37/attachment.bin>


More information about the Privoxy-devel mailing list