Symfony\Component\HttpFoundation\Response::setNotModified
Modifies the response so that it conforms to the rules defined for a 304 status code.
This sets the status, removes the body, and discards any headers that MUST NOT be included in 304 responses.
Signature
public function setNotModified()
Returns
- Response