Liking cljdoc? Tell your friends :D

metabase.middleware.util

Ring middleware utility functions.

Ring middleware utility functions.
raw docstring

api-call?clj

(api-call? {:keys [uri]})

Is this ring request an API call (does path start with /api)?

Is this ring request an API call (does path start with `/api`)?
sourceraw docstring

cacheable?clj

(cacheable? {:keys [uri query-string]})

Can the ring request be permanently cached?

Can the ring request be permanently cached?
sourceraw docstring

embed?clj

(embed? {:keys [uri]})

Is this ring request one that will serve public.html?

Is this ring request one that will serve `public.html`?
sourceraw docstring

public?clj

(public? {:keys [uri]})

Is this ring request one that will serve public.html?

Is this ring request one that will serve `public.html`?
sourceraw docstring

response-forbiddenclj

Generic 403 (Forbidden) Ring response map.

Generic `403 (Forbidden)` Ring response map.
sourceraw docstring

response-unauthenticclj

Generic 401 (Unauthenticated) Ring response map.

Generic `401 (Unauthenticated)` Ring response map.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close