Closed mtricht closed 5 years ago
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
The progress demo needs the server to serve the content without compression/gzip. I no longer have the ftp that I used to serve the uncompressed content.
I updated the example and moved it to GitHub: https://github.com/pablohirafuji/elm-http-progress-example. Also added a note about the lack of support of this feature when the content is gzipped.
The issue is: chrome and others browsers does not implement tracking progress when the content is gzipped because the specs are unclear whether the value of the content-length
header should be after-decoding or before-decoding. More details at https://bugs.chromium.org/p/chromium/issues/detail?id=463622.
There are new examples of using tracking progress over here: https://github.com/elm/file/tree/master/examples
They should work better. I see notes about the gzip issue online in various places though, so that part may still be odd.
The progress demo that can be found here does not work;