Re:How do dat:// sites interact with servers?
by lucideer on Tuesday June 12, 2018 @05:21PM
(#17298146)
> CORS only applies to requests for restricted resources like fonts or XHR requests that aren't simple GETs and POSTs.
CORS applies to XHR. Including GETs and POSTs, and including fetching images over XHR.
There's some other sibling comments here discussing preflight requests, which it sounds like you might be referring to, but CORS is not limited to just preflight requests.
CORS applies to XHR. Including GETs and POSTs, and including fetching images over XHR.
There's some other sibling comments here discussing preflight requests, which it sounds like you might be referring to, but CORS is not limited to just preflight requests.