In my case my response with JsonRepresentation was being chunked due
to what I believe was a bug with JsonRepresentation (reported on this
list, but I think it must be stuck in moderation as there has been no
response).

My approach to find out why I was getting the chunked header was to
step through Restlet code in the debugger and see which code path was
setting that header. In my case it turned out that JsonRepresentation
does not know its content length when it is constructed via
JsonRepresentation(String). You are probably having a different
problem, but see if you can track down the reason for the chunked
header being added.


On Mon, Dec 7, 2009 at 8:10 AM, Luiz Alberto <[email protected]> wrote:
> Hello Ben,
>
> Yes, I had tried to use StringRepresentation, and my request continues to be 
> Chunked.
>
> Thanks,
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2427857
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2427910

Reply via email to