vertx-web icon indicating copy to clipboard operation
vertx-web copied to clipboard

CORS to respect the configured METHODS

Open pmlopes opened this issue 5 months ago • 10 comments

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?

pmlopes avatar Apr 29 '25 10:04 pmlopes