Skip to content

Commit

Permalink
merged branch ouardisoft/2.0 (PR #4300)
Browse files Browse the repository at this point in the history
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) (merged d1c831d into 8cd6cbc).
  • Loading branch information
fabpot committed May 16, 2012
2 parents 5e800a8 + d1c831d commit 980a062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/Response.php
Expand Up @@ -401,7 +401,7 @@ public function setPublic()
*/
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');
}

/**
Expand Down

0 comments on commit 980a062

Please sign in to comment.