Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only support headers on uncommitted response
CrossOriginOpenerPolicyRequestCycleListener attempts to write headers to a response that is already committed. It contains logic to prevent setting of headers when a response does not support them, but the implementation for ServletWebResponse always returns true. This commit modifies ServletWebResponse to check if the underlying HttpServletResponse has already been committed.
- Loading branch information