Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
clj-http.* -> clj-http.lite.*
Browse files Browse the repository at this point in the history
namespace changes
  • Loading branch information
hiredman committed Feb 11, 2012
1 parent cf55638 commit e5981b6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/clj_http/lite/client.clj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(ns clj-http.client
(ns clj-http.lite.client
"Batteries-included HTTP client."
(:use [slingshot.slingshot :only [throw+]])
(:require [clojure.string :as str]
[clj-http.core :as core]
[clj-http.util :as util])
[clj-http.lite.core :as core]
[clj-http.lite.util :as util])
(:import (java.io InputStream File)
(java.net URL UnknownHostException))
(:refer-clojure :exclude (get)))
Expand Down
4 changes: 2 additions & 2 deletions src/clj_http/lite/cookies.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns clj-http.cookies
(:use [clj-http.util :only [url-decode url-encode]]
(ns clj-http.lite.cookies
(:use [clj-http.lite.util :only [url-decode url-encode]]
[clojure.string :only [blank? join lower-case]])
(:import (org.apache.http.client.params ClientPNames CookiePolicy)
(org.apache.http.cookie ClientCookie CookieOrigin)
Expand Down
2 changes: 1 addition & 1 deletion src/clj_http/lite/core.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns clj-http.core
(ns clj-http.lite.core
"Core HTTP request/response implementation."
(:require [clojure.java.io :as io])
(:import (java.io ByteArrayOutputStream IOException)
Expand Down
2 changes: 1 addition & 1 deletion src/clj_http/lite/util.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns clj-http.util
(ns clj-http.lite.util
"Helper functions for the HTTP client."
(:import (org.apache.commons.codec.binary Base64)
(org.apache.commons.io IOUtils)
Expand Down
4 changes: 2 additions & 2 deletions test/clj_http/test/client.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(ns clj-http.test.client
(:use [clojure.test]
[clj-http.test.core :only [run-server]])
(:require [clj-http.client :as client]
[clj-http.util :as util])
(:require [clj-http.lite.client :as client]
[clj-http.lite.util :as util])
(:import (java.net UnknownHostException)
(java.util Arrays)))

Expand Down
2 changes: 1 addition & 1 deletion test/clj_http/test/cookies.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns clj-http.test.cookies
(:use [clj-http.util]
(:use [clj-http.lite.util]
[clojure.test]))

;; (defn refer-private [ns]
Expand Down
4 changes: 2 additions & 2 deletions test/clj_http/test/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
(:use [clojure.test]
[clojure.java.io :only [file]])
(:require [clojure.pprint :as pp]
[clj-http.core :as core]
[clj-http.util :as util]
[clj-http.lite.core :as core]
[clj-http.lite.util :as util]
[ring.adapter.jetty :as ring])
(:import (java.io ByteArrayInputStream)))

Expand Down

0 comments on commit e5981b6

Please sign in to comment.