Permalink
Browse files

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

  • Loading branch information...
Matt Revelle
Matt Revelle committed Mar 11, 2010
1 parent 85ce13f commit e922f4c4e245d25ca01e97ea0aed412c1a290474
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/com/twinql/clojure/http.clj
@@ -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

0 comments on commit e922f4c

Please sign in to comment.