Re: [whatwg/fetch] Turn Body mixin's MIME type into a getter (#1137)

You could make this more transparent by defining it as "body's ***MIME type*** algorithm". It'd then be implicit that the algorithm is run, whenever you say "_body_'s [MIME type]" (similar to the various fields of environment settings objects).

To me, that seems a bit nicer than requiring callers to say "the result of running _body_'s [get MIME type] algorithm".

-- 
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/pull/1137#issuecomment-758104851

Received on Monday, 11 January 2021 17:30:45 UTC