processResponseConsumeBody and opaque responses #1446
Labels
clarification
Standard could be clearer
Content-Length: 245563 | pFad | http://github.com/whatwg/fetch/issues/1446
86
I noticed today that fetching scripts in HTML uses this and while it currently seemingly ignores the second argument that seems like a bug as the body on which it tries to operate will have been consumed.
However, it might be somewhat surprising we end up revealing the full byte sequence of opaque responses to callers without any kind of ceremony.
Not really sure how to address this other than add some "be careful" words around this.
@noamr @domenic thoughts?
The text was updated successfully, but these errors were encountered: