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

CJ Ess zxcvbn4038 at gmail.com
Tue Apr 28 20:50:26 UTC 2015


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-length header if none has been provided (i.e. by *-fpm, upstream
proxy, etc)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150428/da4bfc6a/attachment.html>


More information about the nginx mailing list