mscb402 commented on code in PR #8336:
URL: https://github.com/apache/apisix/pull/8336#discussion_r1027785548
##########
apisix/core/request.lua:
##########
@@ -138,6 +145,15 @@ function _M.set_header(ctx, header_name, header_value)
end
end
+function _M.add_header(header_name, header_value)
+ local err
+ header_name, err = _validate_header_name(header_name)
+ if err then
+ error(err)
+ end
+
+ req_add_header(header_name,header_value)
Review Comment:
done
--
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]