(get-alias-suffixed-headers headers-with-aliases-key)
Given a key-value pair, where key is the resource alias and value is it's value, inserts the key prefix on each key of the headers map.
Given a key-value pair, where key is the resource alias and value is it's value, inserts the key prefix on each key of the headers map.
(get-minimal-cache-type-value cache-control-headers cache-type)
(get-minimal-response-cache-control-values cache-control-headers)
(has-prefix-on-key? prefix [key _])
Verify if a given key has the expected prefix
Verify if a given key has the expected prefix
(map-headers-to-aliases [k v])
Given a key-value pair, where key is the resource alias and value is it's value, extracts only the headers to a new map.
Given a key-value pair, where key is the resource alias and value is it's value, extracts only the headers to a new map.
(map-response-headers-to-aliases response)
Return a map of :resource headers
Return a map of :resource headers
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close