Response::mustRevalidate()

bool mustRevalidate() Returns true if the response must be revalidated by caches. This method indicates that the response must not be served stale by a cache in any circumstance without first revalidating with the origin. When present, the TTL of the response should not be overridden to be greater than the value provided by the origin. Return Value bool true if the response must be revalidated by a cache, false otherwise

Response::isValidateable()

bool isValidateable() Returns true if the response includes headers that can be used to validate the response with the origin server using a conditional GET request. Return Value bool true if the response is validateable, false otherwise

Response::isSuccessful()

bool isSuccessful() Is response successful? Return Value bool

Response::isServerError()

bool isServerError() Was there a server side error? Return Value bool

Response::isRedirection()

bool isRedirection() Is the response a redirect? Return Value bool

Response::isRedirect()

bool isRedirect(string $location = null) Is the response a redirect of some form? Parameters string $location Return Value bool

Response::isOk()

bool isOk() Is the response OK? Return Value bool

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

Response::isNotFound()

bool isNotFound() Is the response a not found error? Return Value bool

Response::isInvalid()

bool isInvalid() Is response invalid? Return Value bool See also http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html