nic-6443 commented on code in PR #13597:
URL: https://github.com/apache/apisix/pull/13597#discussion_r3480109771


##########
apisix/plugins/proxy-rewrite.lua:
##########
@@ -106,6 +118,18 @@ local schema = {
                                     oneOf = {
                                         { type = "string" },
                                         { type = "number" },
+                                        {
+                                            -- replace the header with multiple
+                                            -- values, e.g. ["v1", "v2"]
+                                            type = "array",
+                                            minItems = 1,
+                                            items = {
+                                                oneOf = {
+                                                    { type = "string" },
+                                                    { type = "number" },
+                                                }
+                                            }
+                                        }

Review Comment:
   The semantic meaning of SET is replace; there is no need to support arrays, 
right?



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