Skip to content
Browse files

Merge remote-tracking branch 'kanaka/master'

  • Loading branch information...
2 parents 9c5f2e5 + bc65f1c commit e609e6cfb2555d4d282c7fa273f5438ab82b4457 @dakrone committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/clj_http/core.clj
5 src/clj_http/core.clj
@@ -211,7 +211,10 @@
(when (instance? SingleClientConnManager conn-mgr)
(.addHeader http-req "Connection" "close"))
(doseq [[header-n header-v] headers]
- (.addHeader http-req header-n header-v))
+ (if (coll? header-v)
+ (doseq [header-vth header-v]
+ (.addHeader http-req header-n header-vth))
+ (.addHeader http-req header-n header-v)))
(if multipart
(.setEntity #^HttpEntityEnclosingRequest http-req
(mp/create-multipart-entity multipart))

0 comments on commit e609e6c

Please sign in to comment.
Something went wrong with that request. Please try again.