etag

fun etag(block: ETagProvider)(source)

Configures HttpHeaders.ETag for requested content. For files, Resource is a requested File. For resources, Resource is a URL to a requested resource.

Note: for this functionality to work, you need to install the ConditionalHeaders plugin.

Report a problem