Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

c.c.http.connection: replace references to c.c.java

  • Loading branch information...
commit b1ef9357a276c391ac28c309513c567b84a09309 1 parent 55cc53e
@stuartsierra stuartsierra authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/main/clojure/clojure/contrib/http/connection.clj
View
5 src/main/clojure/clojure/contrib/http/connection.clj
@@ -13,15 +13,14 @@
(ns #^{:doc "Low-level HTTP client API around HttpURLConnection"}
clojure.contrib.http.connection
- (:require [clojure.contrib.io :as duck]
- [clojure.contrib.java :as j])
+ (:require [clojure.contrib.io :as duck])
(:import (java.net URI URL HttpURLConnection)
(java.io File InputStream Reader)))
(defn http-connection
"Opens an HttpURLConnection at the URL, handled by as-url."
[url]
- (.openConnection (j/as-url url)))
+ (.openConnection (duck/as-url url)))
(defmulti
#^{:doc "Transmits a request entity body."}
Please sign in to comment.
Something went wrong with that request. Please try again.