Skip to content

Instantly share code, notes, and snippets.

@amalloy
Forked from mwmitchell/gist:1123602
Created August 3, 2011 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amalloy/1123606 to your computer and use it in GitHub Desktop.
Save amalloy/1123606 to your computer and use it in GitHub Desktop.
(defn p [path & {:keys [params headers]
:or {headers {}}}]
[params headers])
;; was hoping to see :headers {} here
(p "path" :params {:id 1})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment