aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bedra and Stuart Halloway <pair@clojure.com>2010-07-23 09:56:37 -0400
committerAaron Bedra and Stuart Halloway <pair@clojure.com>2010-07-23 10:32:38 -0400
commit657482a412495b15ef3145c8af93871abdbb1660 (patch)
tree4dec65cd370ea4a2c3edfa2bbd0c0ce343b6fc0d
parentdb64739467ed7bbe02643cd49c909f405eb781d7 (diff)
deprecate http.agent http.connection
-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)