Skip to content

Commit cf0ecbe

Browse files
committed
Merge pull request #52 from sergeyz/patch-1
Excess headers send
2 parents 1a1bdc0 + 7cac100 commit cf0ecbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class DefaultController extends Controller
164164
// If you are using a https connection, you have to set those two headers and use sendHeaders() for compatibility with IE <9
165165
$response->headers->set('Pragma', 'public');
166166
$response->headers->set('Cache-Control', 'maxage=1');
167-
$response->sendHeaders();
167+
168168
return $response;
169169
}
170170
}

0 commit comments

Comments
 (0)