Hi @Mauricio Freitas ,
I also used IIS10 and IIS7 to add these headers which have same key, but both of them show the same result:" A header with this name already exists."
So IIS dooesn't allow custom response headers with same name.
In the http specification:
Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value for that header field is defined as a comma-separated list [i.e., #(values)]. It MUST be possible to combine the multiple header fields into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field-value to the first, each separated by a comma.
So I think you can add response headers like this, use; separate multiple values.
The result may be different.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Bruce Zhang