HTTP_MATCH_ETAG(3) 1 HTTP_MATCH_ETAG(3)
http_match_etag - Match ETag
SYNOPSIS
bool http_match_etag (string $etag, [bool $for_range = false])
DESCRIPTION
Matches the given ETag against the clients If-Match resp. If-None-Match HTTP headers.
PARAMETERS
o $etag
- the ETag to match
o $for_range
- if set to TRUE, the header usually used to validate HTTP ranges will be checked
RETURN VALUES
Returns TRUE if ETag matches or the header contained the asterisk ("*"), else FALSE.
SEE ALSO
http_match_last_modified(3), http_match_request_header(3), http_cache_etag(3), http_cache_last_modified(3), ob_etaghandler(3).
PHP Documentation Group HTTP_MATCH_ETAG(3)