Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
heyZeus committed Mar 6, 2009
1 parent bf684d3 commit c17e60a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.textile
Expand Up @@ -2,8 +2,8 @@
your own computer. This Clojure script is a wrapper around the Apache your own computer. This Clojure script is a wrapper around the Apache
commons-client Java library. commons-client Java library.


h2. Usage h3. Usage

@
; Prints the HTML of the clojure.org website ; Prints the HTML of the clojure.org website
(let [clj-ws (client "http://www.clojure.org") (let [clj-ws (client "http://www.clojure.org")
home (method "/")] home (method "/")]
Expand All @@ -29,7 +29,7 @@ h2. Usage
home (method "/")] home (method "/")]
(send-method clj-ws home (send-method clj-ws home
(println (.getStatusCode home)))) (println (.getStatusCode home))))

@


I've only implemented some basic functionality to make the commons-client I've only implemented some basic functionality to make the commons-client
more "in line" with functional programming. There are lots of things that more "in line" with functional programming. There are lots of things that
Expand All @@ -42,7 +42,7 @@ an implementation of org.apache.commons.httpclient.HttpMethodBase. Please
see the commons-client API docs for reference. see the commons-client API docs for reference.




h2. Requirements h3. Requirements


- clojure-contrib - clojure-contrib
- Apache commons-client 3.1 and its dependencies (only tested with the 3.1 version) - Apache commons-client 3.1 and its dependencies (only tested with the 3.1 version)
Expand Down

0 comments on commit c17e60a

Please sign in to comment.