Open h2g-internetagentur opened 7 years ago
On what website is that happening?
the original ressource: http://storage.googleapis.com/code.snapengage.com/js/1271349c-c112-4548-8a2d-abf1383bf2b2.js
the "chunked" problem is on many google-sites...
Actually I have proxied browsersync (to access it by a regular hostname instead of host:port) and its built in webserver made the chunked response.
If a proxied server responses with chunked content the header misleads the browser cause the content you get by cURL is already unchunked but you still send the transfer-encoding: chunked header to the client (which now expects chunked content). You have to get the raw content from cURL or remove the transfer-encoding header.