- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
# randomly picked react project as an example
git clone https://github.com/ahfarmer/calculator
cd calculator
npm install
netlify dev --live
Expecting properly served react site and instead getting Content Encoding Error.
- If the current behavior is a bug, please provide the steps to reproduce.
See the attached files what shows a difference in output between curl localhost:3000 and the dev.live site.
localhost.txt
devlive.txt
- What is the expected behavior?
properly served html
- Please mention your node.js, and operating system version.
FWIW, I also tried a react-static project. Maybe there's a quirk in live-tunnel-client that explains the content encoding error.
Noticed this bug as well. It looks like an issue that live-tunnel-client has with compression.
I could get the pages to load properly on the browser by making it send the following header: Accept-Encoding: gzip;q=0,deflate;q=0 with an extension that can override request headers (such as ModHeaders)
thank you both! cc @calavera if you have bandwidth
Most helpful comment
Noticed this bug as well. It looks like an issue that
live-tunnel-clienthas with compression.I could get the pages to load properly on the browser by making it send the following header:
Accept-Encoding: gzip;q=0,deflate;q=0with an extension that can override request headers (such as ModHeaders)