Why Body cannot be fetched?

Gonçalo Silva goncalo.silva at muzzley.com
Tue Dec 15 17:59:23 CET 2015


I will inform the backend developers about the sending of the two
incompatible headers.
I already have the "if" filtering these requests, but returning pipe, now i
know why return pass was not working

Thank you

On Tue, Dec 15, 2015 at 4:29 PM, Geoff Simmons <geoff at uplex.de> wrote:

>
> The response specifies both Content-Length *and* chunked encoding, but
> it has to be one or the other. In fact, the response body is not
> chunked-encoded, so it should have been only Content-Length.
>
> > ... how can i use return(pass) for these requests?
>
> For which requests? If you want pass for every URL that begins with
> "/profiles/", then:
>
> if (req.url ~ "^/profiles/") {
>     return(pass);
> }
>
> But you really should fix the server, it evidently can't make up its
> mind about Content-Length or chunked encoding, and that can't ever be
> right.
>
>
> HTH,
> Geoff
> --
> ** * * UPLEX - Nils Goroll Systemoptimierung
>
> Scheffelstraße 32
> 22301 Hamburg
>
> Tel +49 40 2880 5731
> Mob +49 176 636 90917
> Fax +49 40 42949753
>
> http://uplex.de
>
>


-- 

Gonçalo Silva

Head Security

Portugal

goncalo.silva at muzzley.com
<%2B351%20%2896%29%20343-09-55>

Rua do Ouro, n181, 1100-061 Lisboa

http://www.muzzley.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20151215/811e927f/attachment.html>


More information about the varnish-misc mailing list