AMWA-TV / is-14

AMWA IS-14 NMOS Device Configuration Specification [Work In Progress]
https://specs.amwa.tv/is-14
Apache License 2.0
0 stars 2 forks source link

Add CORS pre-flight OPTIONS endpoints #13

Closed jonathan-r-thorpe closed 5 months ago

jonathan-r-thorpe commented 5 months ago

OPTIONS is already specified in other NMOS specifications (including IS-04, IS-05, IS-08) with a clause that covers all NMOS specifications:

"In order to permit web-based control interfaces to be hosted remotely, all NMOS APIs MUST implement valid CORS HTTP headers in responses to all requests. In addition to this, where highlighted in the API specifications servers MUST respond to HTTP pre-flight OPTIONS requests. Servers MAY additionally support HTTP OPTIONS requests made to any other API resource."

This pull request: