Permalink
Browse files

Correct map->params usage.

  • Loading branch information...
Richard Newman Richard Newman
Richard Newman authored and Richard Newman committed Jul 16, 2009
1 parent 5ec6ea4 commit d3826be6fd368303d2cf4759742df61b656fac49
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.markdown
View
@@ -118,4 +118,6 @@ To avoid verbosity, a function map->params is provided. This will rename the key
For example, to issue a `HEAD` request via a proxy:
- (http/head "http://github.com/" :parameters {:default-proxy (http-host :host "localhost" :port 8080)})
+ (http/head "http://github.com/"
+ :parameters (http/map->params
+ {:default-proxy (http/http-host :host "localhost" :port 8080)}))

0 comments on commit d3826be

Please sign in to comment.