Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged branch bamarni/issue-6977 (PR #7857)
This PR was submitted for the master branch but it was merged into the 2.1 branch instead (closes #7857). Discussion ---------- [HttpCache] remove validation related headers when needed | Q | A | ------------- | --- | Bug fix? | [yes] | New feature? | [no] | BC breaks? | [yes] | Deprecations? | [no] | Tests pass? | [yes] | Fixed tickets | [#6977] | License | MIT Fixes #6977 by removing validation related headers when there is at least one embedded response. I've added an embedded response counter because the current check was wrong I think, it was checking count($this->ttls) which isn't updated for validateable responses. And for the BC break, looking at the interface PHPDoc description, it supposes add() method should only be applied on esi responses and update() takes the master one at the end, what do you think? Commits ------- bb80139 [HttpCache] remove validation related headers when needed
- Loading branch information
Showing
3 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters