|
|
@ -173,10 +173,8 @@ to pre-flight requests and supply Cross-Origin Resource Sharing (CORS) headers o
|
|
|
|
all requests.
|
|
|
|
all requests.
|
|
|
|
|
|
|
|
|
|
|
|
When a client approaches the server with a pre-flight (``OPTIONS``) request, the
|
|
|
|
When a client approaches the server with a pre-flight (``OPTIONS``) request, the
|
|
|
|
server should respond with the CORS headers for that route. If the route does not
|
|
|
|
server should respond with the CORS headers for that route. The recommended CORS
|
|
|
|
exist, the server should return an ``M_NOT_FOUND`` error with a 404 status code.
|
|
|
|
headers to be returned by servers on all requests are:
|
|
|
|
|
|
|
|
|
|
|
|
The standard CORS headers to be returned by servers on all requests are:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. code::
|
|
|
|
.. code::
|
|
|
|
|
|
|
|
|
|
|
|