[prev in list] [next in list] [prev in thread] [next in thread]
List: cherokee
Subject: Re: [Cherokee] Transfer file via php not including content-length
From: David Becerril <email () davebv ! com>
Date: 2009-10-22 7:46:52
Message-ID: 21b751640910220046i39dfb779hc6658eeaa5b5db5e () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks you for the answers.
I will have a deeper look into my problem, which now seems more like a
safari issue, (in firefox the length is detected ok)
2009/10/22 Antonio P=E9rez <aperez@skarcha.com>
Hello again,
>
> 2009/10/21 Antonio P=E9rez <aperez@skarcha.com>:
>
> > Hello David,
> >
> > On Mon, Oct 19, 2009 at 8:51 PM, David Becerril <email@davebv.com>
> wrote:
> >
> >> Adding gzip compression in encoding in the php behavior I do not get t=
he
> >> content-length when sending the file:
> >
> > As far as I know, that is the correct behaviour, because Cherokee
> > can't figure out what's the length of the gziped data when the headers
> > are sent to the client.
> >
> > Anyway, I can see a problem here:
> >
> >> Connection: Keep-Alive
> >> Content-Encoding: gzip
> >> Transfer-Encoding: Identity
> >
> > You can use gzip encoding with "Keep-Alive" only if
> > "Transfer-Encoding" is "chunked".
>
> Seems that "identity" is deprecated[1]
>
> [1] http://trac.tools.ietf.org/wg/httpbis/trac/ticket/16
>
>
> --
> Saludos:
> Antonio P=E9rez
>
[Attachment #5 (text/html)]
<div class="gmail_quote"><br>Thanks you for the answers.<div><br></div><div>I will \
have a deeper look into my problem, which now seems more like a safari issue, (in \
firefox the length is detected ok)<br><br><div class="gmail_quote">
2009/10/22 Antonio Pérez <span dir="ltr"><<a href="mailto:aperez@skarcha.com" \
target="_blank">aperez@skarcha.com</a>></span><div><div></div><div class="h5"><br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hello again,<br> <br>
2009/10/21 Antonio Pérez <<a href="mailto:aperez@skarcha.com" \
target="_blank">aperez@skarcha.com</a>>:<br> <div><div></div><div><br>
> Hello David,<br>
><br>
> On Mon, Oct 19, 2009 at 8:51 PM, David Becerril <<a \
href="mailto:email@davebv.com" target="_blank">email@davebv.com</a>> wrote:<br> \
><br> >> Adding gzip compression in encoding in the php behavior I do not \
get the<br> >> content-length when sending the file:<br>
><br>
> As far as I know, that is the correct behaviour, because Cherokee<br>
> can't figure out what's the length of the gziped data when the \
headers<br> > are sent to the client.<br>
><br>
> Anyway, I can see a problem here:<br>
><br>
>> Connection: Keep-Alive<br>
>> Content-Encoding: gzip<br>
>> Transfer-Encoding: Identity<br>
><br>
> You can use gzip encoding with "Keep-Alive" only if<br>
> "Transfer-Encoding" is "chunked".<br>
<br>
</div></div>Seems that "identity" is deprecated[1]<br>
<br>
[1] <a href="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/16" \
target="_blank">http://trac.tools.ietf.org/wg/httpbis/trac/ticket/16</a><br> <br>
<br>
--<br>
Saludos:<br>
<font color="#888888">Antonio Pérez<br>
</font></blockquote></div></div></div><br></div>
</div><br>
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic