http\Response
[mdref/mdref-http] / http / Env / Response / isCachedByEtag.md
1 # int http\Env\Response::isCachedByEtag([string $header_name = "If-None-Match"])
2
3 Manually test the header $header_name of the environment's request for a cache hit.
4 http\Env\Response::send() checks that itself, though.
5
6 ## Params:
7
8 * Optional string $header_name = "If-None-Match"
9 The request header to test.
10
11 ## Returns:
12
13 * int, a http\Env\Response::CACHE_* constant.