Skip to main content

isETagMatch

Overview

isETagMatch

(request, etag): etag is string

Utility function to check if a given request's headers match an etag. If the etag matches, the client may use the locally cache resource.

Parameters

NameType
requestRequest
etagundefined

Returns

etag is string

Defined in

http/headers/caching/mod.ts:135