Response::isNotModified()

bool isNotModified(Request $request)

Determines if the Response validators (ETag, Last-Modified) match a conditional value specified in the Request.

If the Response is not modified, it sets the status code to 304 and removes the actual content by calling the setNotModified() method.

Parameters

Request $request A Request instance

Return Value

bool true if the Response validators match the Request, false otherwise
doc_Symfony
2016-10-28 06:30:24
Comments
Leave a Comment

Please login to continue.