Browse files

Release 0.3.6

  • Loading branch information...
1 parent 4b94a93 commit e556a5d7e3b6611246c04c5a07c9312289b6e807 @dakrone committed Oct 11, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 README.markdown
  2. +3 −3 project.clj
  3. +3 −3 src/cd_client/core.clj
View
2 README.markdown
@@ -43,7 +43,7 @@ current mode with (show-mode).
For Leiningen:
- [org.thnetos/cd-client "0.3.5"]
+ [org.thnetos/cd-client "0.3.6"]
## Installation
View
6 project.clj
@@ -1,6 +1,6 @@
-(defproject org.thnetos/cd-client "0.3.6-SNAPSHOT"
+(defproject org.thnetos/cd-client "0.3.6"
:url "https://github.com/dakrone/clojuredocs-client"
:description "A client for the clojuredocs API"
- :dependencies [[clj-http "0.5.3"]
- [cheshire "4.0.2"]]
+ :dependencies [[clj-http-lite "0.2.0"]
+ [cheshire "4.0.3"]]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.4.0"]]}})
View
6 src/cd_client/core.clj
@@ -2,8 +2,8 @@
(:use [clojure.java.browse :only [browse-url]]
[clojure.pprint :only [pprint]])
(:require [cheshire.core :as json]
- [clj-http.client :as http]
- [clj-http.util :as util]
+ [clj-http.lite.client :as http]
+ [clj-http.lite.util :as util]
[clojure.string :as string]
[clojure.java.io :as io]
[clojure.repl :as repl]))
@@ -225,7 +225,7 @@
(defn- get-simple [url]
(when (:show-urls @*debug-flags*)
(println "get-simple getting URL" url))
- (let [http-resp (http/get url {:decompress-body false})]
+ (let [http-resp (http/get url {:headers {"accept-encoding" ""}})]
(when (:show-http-resp @*debug-flags*)
(println "get-simple HTTP response" http-resp))
(-> http-resp

0 comments on commit e556a5d

Please sign in to comment.