Re: Disable Transfer-Encoding chunked from StreamResponse

2010-07-08 Thread Thiago H. de Paula Figueiredo
On Thu, 08 Jul 2010 10:50:40 -0300, fdesbois wrote: I resolve my problem setting the Content-Length of the result Stream : @Override public void prepareResponse(Response response) { response.setHeader("Content-Length", "" + length); } where length = inputStream.available

Re: Disable Transfer-Encoding chunked from StreamResponse

2010-07-08 Thread fdesbois
Le Thu, 08 Jul 2010 08:56:12 -0300, "Thiago H. de Paula Figueiredo" a écrit : > On Thu, 08 Jul 2010 08:34:06 -0300, fdesbois > wrote: > > > Hi, > > Hi! > > > How can I disable Transfer-Encoding chunked ? I tried to do this in > > the StreamResponse : > > I really don't know the answer, but I

Re: Disable Transfer-Encoding chunked from StreamResponse

2010-07-08 Thread fdesbois
Le Thu, 08 Jul 2010 08:56:12 -0300, "Thiago H. de Paula Figueiredo" a écrit : > On Thu, 08 Jul 2010 08:34:06 -0300, fdesbois > wrote: > > > Hi, > > Hi! > > > How can I disable Transfer-Encoding chunked ? I tried to do this in > > the StreamResponse : > > I really don't know the answer, but I

Re: Disable Transfer-Encoding chunked from StreamResponse

2010-07-08 Thread Thiago H. de Paula Figueiredo
On Thu, 08 Jul 2010 08:34:06 -0300, fdesbois wrote: Hi, Hi! How can I disable Transfer-Encoding chunked ? I tried to do this in the StreamResponse : I really don't know the answer, but I guess this is related to the server configuration, not Tapestry-related. -- Thiago H. de Paula F