MCPcopy Create free account
hub / github.com/ccoenraets/backbone-cellar / etag

Method etag

tutorial/api/Slim/Slim.php:654–672  ·  view source on GitHub ↗

* Set ETag HTTP Response Header * * Set the etag header and stop if the conditional GET request matches. * The `value` argument is a unique identifier for the current resource. * The `type` argument indicates whether the etag should be used as a strong or * weak cache validator. * * When the current request includes an 'If-None-Match' header with * a matchin

( $value, $type = 'strong' )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

haltMethod · 0.95
headerMethod · 0.45
headersMethod · 0.45

Tested by

no test coverage detected