If in the HttpCorsRequestHandlercredentials was set to true and a origin header was present in the request. The vary header set in its child handler would be overwritten.
This change will keep the previous value from the child handler and add origin to it if it was not present already.
If in the
HttpCorsRequestHandler
credentials
was set totrue
and aorigin
header was present in the request. Thevary
header set in its child handler would be overwritten.This change will keep the previous value from the child handler and add
origin
to it if it was not present already.