Permalink
Browse files

Merge pull request #33 from mpenet/master

docstring error (missing key)
  • Loading branch information...
2 parents 01730bf + 623d2d9 commit b8d37940162629b94ff40cdd1acfbd96ab9fce3d @shenfeng shenfeng committed Mar 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/httpkit/client.clj
@@ -84,7 +84,7 @@
(request {:url \"http://www.cnn.com\"})
;; Asynchronous GET request with callback
- (request {:method \"http://www.cnn.com\" :get}
+ (request {:url \"http://www.cnn.com\" :method :get}
(fn [{:keys [opts status body headers error] :as resp}]
(if error
(println \"Error on\" opts)

0 comments on commit b8d3794

Please sign in to comment.