Skip to content

sjaakd/reproducer_corrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a reproducer for the cors quarkus issue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages