From 0a3e6804f9822a85e255650e2be35c757d4c1e3d Mon Sep 17 00:00:00 2001 From: Aaron Bedra and Stuart Halloway Date: Fri, 23 Jul 2010 09:56:37 -0400 Subject: deprecate http.agent http.connection --- src/main/clojure/clojure/contrib/http/agent.clj | 5 ++++- src/main/clojure/clojure/contrib/http/connection.clj | 6 +++++- 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) -- cgit v1.2.3-18-g5258