Fix for communication errors when odm-web is running on nginx (missing Content-Length header)