[whatwg/fetch] Body's total bytes for HEAD requests (#284)

Apparently in Chrome (and IE) when you do a HEAD request, the progress event will have total set to the value of the response's `Content-Length` header, if any. In Firefox it will be 0.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1264219.

I'm not entirely sure if this makes much sense, but it does actually appear to be the way things are specified unless I'm missing something (despite me insisting that is not the case in the aforementioned bug).

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/284

Received on Thursday, 14 April 2016 07:14:22 UTC