aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/clojure/clojure/contrib/http/agent.clj5
-rw-r--r--src/main/clojure/clojure/contrib/http/connection.clj6
2 files changed, 9 insertions, 2 deletions
diff --git a/src/main/clojure/clojure/contrib/http/agent.clj b/src/main/clojure/clojure/contrib/http/agent.clj
index 9582f803..a42431f6 100644
--- a/src/main/clojure/clojure/contrib/http/agent.clj
+++ b/src/main/clojure/clojure/contrib/http/agent.clj
@@ -11,8 +11,11 @@
;; agreeing to be bound by the terms of this license. You must not
;; remove this notice, or any other, from this software.
+;; DEPRECATED IN 1.2. Use direct Java bits, or take a look at
+;; http://github.com/technomancy/clojure-http-client
-(ns ^{:doc "Agent-based asynchronous HTTP client.
+(ns ^{:deprecated "1.2"
+ :doc "Agent-based asynchronous HTTP client.
This is a HTTP client library based on Java's HttpURLConnection
class and Clojure's Agent system. It allows you to make multiple
diff --git a/src/main/clojure/clojure/contrib/http/connection.clj b/src/main/clojure/clojure/contrib/http/connection.clj
index 1186f109..c6cf162a 100644
--- a/src/main/clojure/clojure/contrib/http/connection.clj
+++ b/src/main/clojure/clojure/contrib/http/connection.clj
@@ -11,7 +11,11 @@
;; agreeing to be bound by the terms of this license. You must not
;; remove this notice, or any other, from this software.
-(ns ^{:doc "Low-level HTTP client API around HttpURLConnection"}
+;; DEPRECATED IN 1.2. Use direct Java bits, or take a look at
+;; http://github.com/technomancy/clojure-http-client
+
+(ns ^{:deprecated "1.2"
+ :doc "Low-level HTTP client API around HttpURLConnection"}
clojure.contrib.http.connection
(:require [clojure.contrib.io :as duck])
(:import (java.net URI URL HttpURLConnection)