Skip to content

Commit 3510d2c

Browse files
committed
Merge pull request #111 from hrach/patch-1
json response: removed automatic cache disabling
2 parents 3fe619f + 0c6879f commit 3510d2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Application/Responses/JsonResponse.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ public function getContentType()
6262
public function send(Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse)
6363
{
6464
$httpResponse->setContentType($this->contentType);
65-
$httpResponse->setExpiration(FALSE);
6665
echo Nette\Utils\Json::encode($this->payload);
6766
}
6867

0 commit comments

Comments
 (0)