diff options
-rw-r--r-- | src/clojure/contrib/http/agent.clj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clojure/contrib/http/agent.clj b/src/clojure/contrib/http/agent.clj index bff3c250..46e40342 100644 --- a/src/clojure/contrib/http/agent.clj +++ b/src/clojure/contrib/http/agent.clj @@ -263,6 +263,7 @@ headers, or clojure.contrib.duck-streams/*default-encoding* if it is not specified." ([http-agnt] + (await http-agnt) ;; have to wait for Content-Encoding (string http-agnt (or (.getContentEncoding #^HttpURLConnection (::connection @http-agnt)) duck/*default-encoding*))) |