Transfer-encoding header

47 views
Skip to first unread message

Lukasz Kuczera

unread,
Sep 11, 2012, 8:19:08 AM9/11/12
to lif...@googlegroups.com
I've been working on REST API using RestHelpers and found that responses are sent with Transfer-encoding: "chunked". Problem I have is that Content-Length is missing then and if not needed I'd prefer to keep normal transfer. Funny thing is that others had problem with missing "chunked" transfers. Can somebody shed a little bit of light what is current status of it ? 

Here is thread about transfer-encoding: "chunked"
https://groups.google.com/forum/#!msg/liftweb/kMpyVDA5IyY/DMrMwGbc0qwJ

I'm sending JsonResponses and see that content-length should be set properly (probably jetty rips it off or somewhere further in the pipeline).

Thanks in advance !

Diego Medina

unread,
Nov 3, 2012, 11:00:42 AM11/3/12
to Lift
Any chance you could post how you got the chunk response from REST ?

Diego
> --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
>
>
>



--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com

Łukasz Kuczera

unread,
Nov 3, 2012, 12:28:30 PM11/3/12
to lif...@googlegroups.com
Hi Diego, 
I don't remember where we had this problem now. I'll try to dig it out. 
Łukasz Kuczera

Diego Medina

unread,
Nov 3, 2012, 1:59:13 PM11/3/12
to lif...@googlegroups.com

Thanks!

Diego
Sent from my android cell

Łukasz Kuczera

unread,
Nov 4, 2012, 1:48:04 PM11/4/12
to lif...@googlegroups.com
I just looked at our REST API json calls and they have transfer-encoding set to 'chunked' even though response is small.
Reply all
Reply to author
Forward
0 new messages