Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moved from to

  • Loading branch information...
commit e922f4c4e245d25ca01e97ea0aed412c1a290474 1 parent 85ce13f
Matt Revelle authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/com/twinql/clojure/http.clj
6 src/com/twinql/clojure/http.clj
@@ -1,7 +1,7 @@
(ns com.twinql.clojure.http
(:refer-clojure :exclude [get])
(:use clojure.set)
- (:require [ :as duck])
+ (:require [ :as io])
(java.lang Exception)
( URI)
@@ -176,10 +176,10 @@
(.getContent entity))
(defmethod entity-as :reader [#^HttpEntity entity as status]
- (duck/reader (.getContent entity)))
+ (io/reader (.getContent entity)))
(defmethod entity-as :string [#^HttpEntity entity as status]
- (duck/slurp* (.getContent entity)))
+ (io/slurp* (.getContent entity)))
(defn preemptive-basic-auth-filter
"Returns a function suitable for passing to HTTP
Please sign in to comment.
Something went wrong with that request. Please try again.