Re: Setting content-length if app doesn't know what it is

2015-04-29 Thread Maxim Dounin
Hello! On Tue, Apr 28, 2015 at 04:50:26PM -0400, CJ Ess wrote: > Behind my web server is an application that doesn't include content-length > headers because it doesn't know what it is. I'm pretty sure this is an > application issue but I promised I'd come here and ask the question - is > there a

Setting content-length if app doesn't know what it is

2015-04-28 Thread CJ Ess
Behind my web server is an application that doesn't include content-length headers because it doesn't know what it is. I'm pretty sure this is an application issue but I promised I'd come here and ask the question - is there a way to have nginx buffer an entire server response and insert a content-