Skip to content

Commit

Permalink
no 304 response if method is not cacheable
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Oct 14, 2016
1 parent fcf0967 commit 2d6c5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ public function setVary($headers, $replace = true)
*/
public function isNotModified(Request $request)
{
if (!$request->isMethodSafe()) {
if (!$request->isMethodCacheable()) {
return false;
}

Expand Down

0 comments on commit 2d6c5cf

Please sign in to comment.