[wp-trac] [WordPress Trac] #41248: Resource interpreted as Document but transferred with MIME type application/json

WordPress Trac noreply at wordpress.org
Tue Aug 22 07:22:49 UTC 2017


#41248: Resource interpreted as Document but transferred with MIME type
application/json
--------------------------+-----------------------
 Reporter:  casiepa       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  REST API      |     Version:  4.8
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  rest-api
--------------------------+-----------------------
Changes (by rmccue):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Aha, sorry for the delayed reply here.

 The "Resource interpreted as Document" warning is because you loaded the
 data directly in the browser, rather than requesting it from a HTML
 document. This same thing occurs if you load an image URL directly. This
 isn't an error, but rather the browser telling you that you're loading
 data directly rather than a document (HTML page).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41248#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list