Sn0rt commented on code in PR #9710:
URL: https://github.com/apache/apisix/pull/9710#discussion_r1257683450


##########
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:
   what HTTP header should pass upstream? instead of forwarding all HTTP header 



-- 
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]

Reply via email to