forked fromsymfony/symfony-docs
- Notifications
You must be signed in to change notification settings - Fork0
Commit58b7f96
committed
minorsymfony#3596 [HTTP Cache] Validation model: Fix header name (bicpi)
This PR was merged into the 2.3 branch.Discussion----------[HTTP Cache] Validation model: Fix header name| Q | A| ------------- | ---| Doc fix? | yes| New docs? | no| Applies to | all| Fixed tickets | -In the cache validation model, the response sends an `ETag` header, but the following requests send an `If-None-Match` header. So the `If-None-Match` header from the request is compared to the `ETag` from the previous response. See `Symfony\Component\HttpFoundation\Request::getETags()` which is used by `Symfony\Component\HttpFoundation\Response::isNotModified()`.Commits-------f7ef7c0 [HTTP Cache] Validation model: Fix header name1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
572 | 572 |
| |
573 | 573 |
| |
574 | 574 |
| |
575 |
| - | |
576 |
| - | |
577 |
| - | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
578 | 585 |
| |
579 | 586 |
| |
580 | 587 |
| |
|
0 commit comments
Comments
(0)