no 304 response if method is not cacheable

This commit is contained in:
Christian Flothmann 2016-10-14 13:10:27 +02:00
parent f76e77f924
commit 3d6b4502c8
1 changed files with 1 additions and 1 deletions

View File

@ -1000,7 +1000,7 @@ class Response
*/
public function isNotModified(Request $request)
{
if (!$request->isMethodSafe()) {
if (!$request->isMethodCacheable()) {
return false;
}