oschaaf commented on issue #1760: ModPagespeedAddResourceHeader Access-Control-Allow-Origin duplicate headers URL: https://github.com/apache/incubator-pagespeed-mod/issues/1760#issuecomment-379061878 `ModPagespeedAddResourceHeader ` was introduced via https://github.com/apache/incubator-pagespeed-mod/pull/1200 Looking at it again, perhaps the solution indeed is to look up the header we are about to add first, and only add to the header set if it is not already present. Or maybe a new option called `SetResourceHeader` would be more accurately named for this behavior. [1] https://github.com/apache/incubator-pagespeed-mod/pull/1200/files#diff-27ef4ed683b1cd4a8ebe4be8b698ebabR174
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
