Why do you need this library? Google Chrome (as of version 64) can not estimate the total download size of XMLHTTPRequests when content-encoding: gzip is set, even if the content-length header is set.
Problem statement Although we have for some time promoted fetch () and un-promoted XMLHttpRequest, we still have lots of examples that date from XMLHttpRequest times. We should if appropriate update ...