vertx-web
vertx-web copied to clipboard
CORS to respect the configured METHODS
Motivation:
Currently the list of configured METHODs are only used to populate the preflight headers. This PR ensures that that requests are blocked 403 as per fetch spec: https://fetch.spec.whatwg.org/#http-cors-protocol
Open for discussion:
- should this be configurable?