Permalink
Browse files

Document headers as string or collection

  • Loading branch information...
1 parent 56c3a8d commit 5424c5bf0fc12cc52ed423c519f39a8bcc66e4c5 @dakrone committed Nov 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Readme.md
View
@@ -79,6 +79,10 @@ More example requests:
:conn-timeout 1000
:accept :json})
+;; Specifying headers as either a string or collection:
+(client/get "http://example.com"
+ {:headers {"foo" ["bar" "baz"], "eggplant" "quux"}})
+
;; Set any specific client parameters manually:
(client/post "http://example.com"
{:client-params {"http.protocol.allow-circular-redirects" false

0 comments on commit 5424c5b

Please sign in to comment.