chunked response in nginx not working

Posted by Dean Hiller on Server Fault See other posts from Server Fault or by Dean Hiller
Published on 2012-09-21T13:45:15Z Indexed on 2012/09/23 21:39 UTC
Read the original article Hit count: 314

Filed under:

I ran into this post which shows my problem EXACTLY

http://nginx.org/en/docs/faq/chunked_encoding_from_backend.html

BUT browsers are using http 1.1 these days so I really don't understand. Our backend is the playframework and I don't mind fixing it but I don't really understand what is not working ESPECIALLY since firefox, safari, chrome ALL download the response just fine with no problems. ONLY when we stick NGINX in the middle do things break and we end up with extra data in our json responses.

Any idea how to fix this? as the doc above just seems wrong since we are now on later versions of http PLUS the browsers seem to work just fine.

thanks, Dean

© Server Fault or respective owner

Related posts about nginx