Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 732 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 732 Bytes

Reproducer

call: http://localhost:8080/reproducer/q/openapi.json

including properties:

quarkus.http.cors=true
quarkus.http.cors.methods=GET,POST
quarkus.http.cors.access-control-max-age=24H

Results in response headers:

img.png

excluding the properties (and restarting):

#quarkus.http.cors=true
#quarkus.http.cors.methods=GET,POST
#quarkus.http.cors.access-control-max-age=24H

Results in:

img_1.png

please note:

  • The API-Version header has gone missing
  • The CORS headers are suddenly included.

The test are ran from a local browser (Firefox, Windows machine). However, the same seems to be happening when I deploy my code inside an OpenShift cluster as image.