Re: [whatwg/fetch] Editorial: clarify how to get MIME type for request and response (PR #1657)

@CYBAI commented on this pull request.



> @@ -7168,6 +7168,24 @@ returns failure or a <a for=/>MIME type</a>.
 
 <hr>
 
+<div algorithm>
+<p>To <dfn id=concept-body-get-mime-type for=Body>get the MIME type</dfn>, given an object, <var>requestOrResponse</var>, including the
+{{Body}} interface mixin, run these steps:

Thank you for the suggestion. The latter sounds good to me! I think we can update to the former one if the fetch spec happens to have a new object including Body and requires this algorithm.

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

Message ID: <whatwg/fetch/pull/1657/review/1441758518@github.com>

Received on Wednesday, 24 May 2023 12:46:47 UTC