Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3d6b450

Browse filesBrowse files
committed
no 304 response if method is not cacheable
1 parent f76e77f commit 3d6b450
Copy full SHA for 3d6b450

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpFoundation/Response.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Response.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ public function setVary($headers, $replace = true)
10001000
*/
10011001
public function isNotModified(Request $request)
10021002
{
1003-
if (!$request->isMethodSafe()) {
1003+
if (!$request->isMethodCacheable()) {
10041004
return false;
10051005
}
10061006

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.