Skip to content
Browse files

Add connection object to response map.

  • Loading branch information...
1 parent 985b643 commit ff1475d40332742b9bf58f1a51331bbdc0cae76a @technomancy technomancy committed Jan 30, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/clojure/http/client.clj
View
1 src/clojure/http/client.clj
@@ -137,6 +137,7 @@ by a server."
(let [headers (parse-headers connection)]
{:body-seq (body-seq connection)
+ :connection connection
:code (.getResponseCode connection)
:msg (.getResponseMessage connection)
:method method

0 comments on commit ff1475d

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