(join-paths local-path base-remote accessed-path)Safely combines a uri and a remote path.
Safely combines a uri and a remote path.
(prepare-cookies resp)Removes the :domain and :secure keys and converts the :expires key (a Date) to a string in the ring response map resp. Returns resp with cookies properly munged.
Removes the :domain and :secure keys and converts the :expires key (a Date) to a string in the ring response map resp. Returns resp with cookies properly munged.
(slurp-binary is len)Reads len bytes from InputStream is and returns a byte array.
Reads len bytes from InputStream is and returns a byte array.
(wrap-proxy handler proxied-path remote-base-uri & [http-opts])Proxies requests from proxied-path, a local URI, to the remote URI at remote-base-uri, also a string.
Proxies requests from proxied-path, a local URI, to the remote URI at remote-base-uri, also a string.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |