4 ms·
Also 4) ability to see the text results of your request. No way for JS to do that with an IMG tag, I don't think.
by jrochkind1 5y ago
Also 4) ability to see the text results of your request.
No way for JS to do that with an IMG tag, I don't think.
- bzbarsky 5y agoIf the XHR is same-origin then you control that text anyway, so know what it is (and there is no OPTIONS anything going on), and if it's cross-origin then the text results are not exposed by default (unless the server jumps through the other CORS hoops to expose them). The OPTIONS bits are not relevant to this part.