etag

fun etag(block: (WebJarAssetLocator.WebJarInfo) -> String?)

Specifies a value for HttpHeaders.ETag to be used in the response. By default, it is the WebJar version. Return null from this block to omit the header.

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