Knotx / knotx-server-http

HTTP Server that handles all incoming HTTP requests and routes the traffic using OpenAPI specs
https://knotx.io
Apache License 2.0
0 stars 2 forks source link

KnotxServer response configuration #41

Open bmalecki opened 7 years ago

bmalecki commented 7 years ago

Should setting "allowedResponseHeaders" to wildcard result in all headers being allowed? This approach works in "allowedRequestHeaders" section of HttpRepositoryConnector configuration.

Example:

"knotx:io.knotx.KnotxServer": { "options": { "config": { "allowedResponseHeaders": [ "*" ], ... } } }

malaskowski commented 7 years ago

Currently it doesn't work like that. Within Server Configuration. Solution from ActionKnotConfiguration should be applied also here.

malaskowski commented 4 years ago

This issue is still valid for writerHandler and its allowedResponseHeaders config in Knot.x HTTP Server.