clj-http
clj-http copied to clipboard
An idiomatic clojure http client wrapping the apache client. Officially supported version.
Ensures arguments for request & method-functions (get/put/post etc.) have similarly. Fixes #520.
Solves #512 Depends on #526
When I make a request like so ``` (http/get "https://angel.co") ``` I get the response ``` 1. Unhandled clojure.lang.ExceptionInfo clj-http: status 403 {:cached nil, :request-time 141, :repeatable? false, :protocol-version {:name...
For the purposes of testing something I've tried to issue 60 simultaneous long-running HTTP requests to our web server using the `async` functionality of this lib. However when issuing 30...
The example code shows passing `false` for the proxy-ignore-hosts parameter. It looks like it should be an empty sequence; else this is an exception: `java.lang.IllegalArgumentException: Don't know how to create...
Maps returned by header-map (HeaderMap instance) are not fully compatible with normal Clojure maps. These maps are part of the clj-http reponse data. Not sure what if anything should be...
Setting the "standard" system settings to pass in proxy username and proxy password doe not work. So this does not work: ``` clojure (System/setProperty "https.proxyHost" "my HOST") (System/setProperty "https.proxyPort" "my...
https://cljdoc.org/ is a popular single-source-for-all-libs documentation hub so it would be ideal if the much used clj-http showed up well there. However it [doesn't currently](https://cljdoc.org/d/clj-http/clj-http/3.10.0) because cljdoc currently only supports...
Hi, when doing an async request like: ```clojure (let [response (defer (http/get "http://example.com" {:async? true} (fn [_] _) (fn [_] _))]) ``` `response` is `org.apache.http.HttpResponse` and _not_ a Ring response...
`wrap-url` middleware parses a given URL and replaces it with components, produced by `parse-url` function. One of the components is `:uri`, which is based on implementation contains URL's path and...