Content-Length Not Set
jkassis opened this issue · 2 comments
jkassis commented
Bummer man. How is the client supposed to keep track of load progress?
pastelsky commented
@jonathanong is there a way this can be added?
jonathanong commented
the reason this does not exist is because the compression is streaming. if you want content-length, you would lose the benefits of streaming. the use-case for this is pretty limited as well.
we can add an option if someone would like to make a PR. it should be pretty straight forward - use the async/callback version of compression instead of streaming/piping.