I found out about the browser and its CORS behavior.
a) Substantial challenge
BROWSER SERVER
| ------ preflight ---> |
| <-- allow GET, PUT -- |
| ------- GET req ----> |
| <------ GET res ----- |
b) Failed call with support for 404 instead of 200
BROWSER SERVER
| ---- preflight ----> |
| <------ 404 -------- |
| |
| |
c) No connection to intenet, no response from the server
BROWSER SERVER
| ---- preflight ----> X
| |
| |
| |
Whenever you call an api call to a non-existent root, the browser sends a request before the flight (b).
, :
1) Http 404
http 0 . , , .
2) Http 200 404 .
.
, .