Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update clj-http and cheshire deps, remove clojure dep

  • Loading branch information...
commit 043a2bb3b76096ced3707558432acb4ba6897dbe 1 parent b633cd5
@dakrone authored
Showing with 8 additions and 5 deletions.
  1. +4 −1 .gitignore
  2. +3 −3 project.clj
  3. +1 −1  src/cd_client/core.clj
View
5 .gitignore
@@ -1,4 +1,7 @@
pom.xml
*jar
lib
-classes
+classes
+target
+pom.xml
+.lein*
View
6 project.clj
@@ -1,6 +1,6 @@
(defproject org.thnetos/cd-client "0.3.5-SNAPSHOT"
:url "https://github.com/dakrone/clojuredocs-client"
:description "A client for the clojuredocs API"
- :dependencies [[org.clojure/clojure "1.3.0"]
- [clj-http "0.3.5"]
- [cheshire "3.1.0"]])
+ :dependencies [[clj-http "0.5.3"]
+ [cheshire "4.0.2"]]
+ :profiles {:dev {:dependencies [[org.clojure/clojure "1.4.0"]]}})
View
2  src/cd_client/core.clj
@@ -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 {:accept-encoding ""})]
+ (let [http-resp (http/get url {:decompress-body false})]
(when (:show-http-resp @*debug-flags*)
(println "get-simple HTTP response" http-resp))
(-> http-resp
Please sign in to comment.
Something went wrong with that request. Please try again.