<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: content views for resources loaded through XHR do not reflect declared mime-type"
   href="https://bugs.webkit.org/show_bug.cgi?id=141389#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: content views for resources loaded through XHR do not reflect declared mime-type"
   href="https://bugs.webkit.org/show_bug.cgi?id=141389">bug 141389</a>
              from <span class="vcard"><a class="email" href="mailto:johan_jensen&#64;apple.com" title="Johan K. Jensen &lt;johan_jensen&#64;apple.com&gt;"> <span class="fn">Johan K. Jensen</span></a>
</span></b>
        <pre>It looks like the frontend could quickly get updated to use the correct mimetype, but it doesn’t look like we get the correct data from the backend.
NetworkAgent.getResponseBody (called from Resource.js) returns (a promise with) the raw image, instead of a base64 encoded blob, which is what gets shown as text.
Looks like it comes from InspectorNetworkAgent::didFinishXHRLoading and NetworkResourcesData::setResourceContent, but not quite sure how far back to track it.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>