Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moved from c.c.duck-streams to c.c.io

  • 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
View
@@ -1,7 +1,7 @@
(ns com.twinql.clojure.http
(:refer-clojure :exclude [get])
(:use clojure.set)
- (:require [clojure.contrib.duck-streams :as duck])
+ (:require [clojure.contrib.io :as io])
(:import
(java.lang Exception)
(java.net 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.