reiern70 commented on PR #569: URL: https://github.com/apache/wicket/pull/569#issuecomment-1497419624
> Can't check ATM, but don't we have to check for duplicated headers then? > Maybe yes... but they do not seem to be duplicated. I do agree thsi solution "sucks" > I wonder whether we should go with a completely different solution: Aren't the headers specific to the page? We could add a behavior to the page (via Component instantiation/Initialization listener) and thus always add the header when the page is rendered. Do you mean... 1. The setting register a compoent instantiation listener 2. The listener adds a behavior to teh page that adds these headers? This idea could work and it maybe be cleaner that what we have now. Mind that teh same problem we have for CrossOriginEmbedderPolicyRequestCycleListener -- 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]
