[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">&lt;<a href="mailto:aperez@skarcha.com" \
target="_blank">aperez@skarcha.com</a>&gt;</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 &lt;<a href="mailto:aperez@skarcha.com" \
target="_blank">aperez@skarcha.com</a>&gt;:<br> <div><div></div><div><br>
&gt; Hello David,<br>
&gt;<br>
&gt; On Mon, Oct 19, 2009 at 8:51 PM, David Becerril &lt;<a \
href="mailto:email@davebv.com" target="_blank">email@davebv.com</a>&gt; wrote:<br> \
&gt;<br> &gt;&gt; Adding gzip compression in encoding in the php behavior I do not \
get the<br> &gt;&gt; content-length when sending the file:<br>
&gt;<br>
&gt; As far as I know, that is the correct behaviour, because Cherokee<br>
&gt; can&#39;t figure out what&#39;s the length of the gziped data when the \
headers<br> &gt; are sent to the client.<br>
&gt;<br>
&gt; Anyway, I can see a problem here:<br>
&gt;<br>
&gt;&gt; Connection: Keep-Alive<br>
&gt;&gt; Content-Encoding: gzip<br>
&gt;&gt; Transfer-Encoding: Identity<br>
&gt;<br>
&gt; You can use gzip encoding with &quot;Keep-Alive&quot; only if<br>
&gt; &quot;Transfer-Encoding&quot; is &quot;chunked&quot;.<br>
<br>
</div></div>Seems that &quot;identity&quot; 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