Re: [whatwg/fetch] Pass in content type to resource-timing (PR #1481)

@annevk commented on this pull request.



> @@ -346,6 +346,9 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
  <dt><dfn export for="response body info" id="fetch-timing-info-decoded-body-size">decoded
  size</dfn> (default 0)
  <dd>A number.
+<dt><dfn export for="response body info" id="response-body-info-content-type">content
+ type</dfn> (default empty string)
+ <dd>A string.

I think it would be cleanest btw if we store null or a MIME type here and let callers serialize as needed.

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

Message ID: <whatwg/fetch/pull/1481/review/1176059269@github.com>

Received on Thursday, 10 November 2022 15:54:26 UTC