On a Magento 19.1.1 site, we've been using Magento's Export to CSV capability to download reports and ad hoc queries on Sales, Customers, Shipments, etc. Since implementing Cloudflare, whenever we try it it fails.
Chrome gives a "Failed - Network error" message.
Firefox gives a popup saying: C:\Users\Neil\AppData\Local\Temp\6qG5S59W.csv.part could not be saved, because the source file could not be read. Try again later, or contact the server administrator.
Cloudflare have said:
we believe that the problem comes from a wrong value Content-Length header returned with compressed content. ... The solution here would be to fix the way Magento handles content-length when gzip is requested (Cloudflare always requests gzip).
Can anyone point me in the right direction to fixing the way Magento handles content-length for gzip?
Thanks.