merged branch ouardisoft/2.0 (PR #4300)
Commits -------d1c831d
Change must-proxy-revalidate by proxy-revalidate Discussion ---------- Change must-proxy-revalidate by proxy-revalidate --------------------------------------------------------------------------- by travisbot at 2012-05-16T09:20:54Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1344060) (mergedd1c831d7
into8cd6cbcf
).
This commit is contained in:
commit
980a062092
@ -401,7 +401,7 @@ class Response
|
|||||||
*/
|
*/
|
||||||
public function mustRevalidate()
|
public function mustRevalidate()
|
||||||
{
|
{
|
||||||
return $this->headers->hasCacheControlDirective('must-revalidate') || $this->headers->has('must-proxy-revalidate');
|
return $this->headers->hasCacheControlDirective('must-revalidate') || $this->headers->has('proxy-revalidate');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user