Open ArnaudBuchholz opened 8 years ago
Cross-Origin XMLHttpRequest implies an initial call to the remote host with the OPTIONS verb (this is named the preflight request). If the remote server does not implement OPTIONS, the call ends with a 501 "Not implemented" error.
One alternative would be to throw the XMLHttpRequest inside the extension. Indeed, it looks like it skips the preflight request.
I need to verify:
Cross-Origin XMLHttpRequest implies an initial call to the remote host with the OPTIONS verb (this is named the preflight request). If the remote server does not implement OPTIONS, the call ends with a 501 "Not implemented" error.