monkeyDluffy6017 commented on code in PR #9710:
URL: https://github.com/apache/apisix/pull/9710#discussion_r1248134219
##########
apisix/plugins/opa.lua:
##########
@@ -125,6 +127,11 @@ function _M.access(conf, ctx)
end
return status_code, reason
+ else if conf.send_header_upstream and result.headers then
+ for key,value in pairs(result.headers) do
+ core.request.set_header(ctx,key,value)
+ end
+ end
Review Comment:
Is it necessary to proxy all of opa's request headers?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]