spacewander commented on code in PR #8824:
URL: https://github.com/apache/apisix/pull/8824#discussion_r1112451480


##########
apisix/core/request.lua:
##########
@@ -143,14 +143,35 @@ function _M.set_header(ctx, header_name, header_value)
     end
 end
 
-function _M.add_header(header_name, header_value)
+function _M.add_header(ctx, header_name, header_value)

Review Comment:
   Yes, we can refactor it and take the common part out.



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