We have an Microsoft CDN (classic) Endpoint setup backed by a Storage Blob Container.
Whenever an OPTIONS request is issued (due to a browser dealing with CORS), we are getting a 405 (method not allowed) response from the CDN. The response includes a x-ms-error-code: UnsupportedHttpVerb
header and also allow: GET,HEAD
.
We have setup CORS in our Blob service from the Storage account, allowing for all origins, headers and GET, HEAD and OPTIONS methods:
If, via curl for example, I try to do OPTIONS on the resource, I am getting the 405. This does however not happen for GET nor HEAD.
So, is OPTIONS supported at all for Azure CDN? Is there anything (else?) we should be configuring?
Thanks in advance!