Re: [fetch] Introduce Response.body. (#118) (#128)

>  <dfn title=concept-Body-MIME-type>MIME type</dfn> (initially the empty byte sequence).
>  
> +<p>Objects implementing the <code>Body</code> mixin must define an associated
> +<dfn title=concept-Body-disturbed>disturbed</dfn> predicate and a

A predicate is a function that returns a boolean. It seems like a better model than a flag in this case, since you want it to be re-computed every time it is consulted.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/128/files#r40103034

Received on Tuesday, 22 September 2015 15:46:29 UTC