Pass preflight request to upstream. Fixes gh-2472
Sorry for the late reply. This needs to be opt-in since it is a change from the default behavior. Are you able to make that change?
Are you able to make that chang
Sorry for the late reply. This needs to be opt-in since it is a change from the default behavior. Are you able to make that change?
Sorry I don`t get the meaning of 'opt-in'. What can I do with this PR ?
It needs to be activated by a property. Other people rely on the current behavior. Those that want this new behavior need to opt in by setting a property. I'm asking if you can add that to the PR
It needs to be activated by a property. Other people rely on the current behavior. Those that want this new behavior need to opt in by setting a property. I'm asking if you can add that to the PR
There is a boolean setting item named handle-preflight-request in route setting to control this behavior. And it is disabled by default.
I will add some docs for this feature some time later
After recalling the related bug and code review, I'm going to refactor the codes. It seems useless to implement PreFlightRequestFilter interface on every GatewayFilters
PreFlightRequestFilter interface is still needed to allow only filters that affect route process to handle preflight request.