clj-http
clj-http copied to clipboard
An idiomatic clojure http client wrapping the apache client. Officially supported version.
In my specific case that patch allowed me to work around an annoying warning at each and every http request that crowded the log file: [2019-06-05T12:40:01,590][WARN ][o.a.h.i.a.HttpAuthenticator] NEGOTIATE authentication error:...
I don’t know if this is voluntary. If you call `clj-http.core/request` with `{:insecure? true, :connection-manager my-mgr}`, the `:insecure?` option is silently ignored. That option is only used to create a...
According to the docs, when I receive a stream from the server, the connection hangs until I consume the whole stream: ```clojure ;; Return the body as a stream (client/get...
Hi, I'm trying to test that my custom middleware is applied. For that I had a look at [clj-http-fake](https://github.com/myfreeweb/clj-http-fake) because it'd give me the chance to look at the produced...
Adds support for a proxy-scheme parameter, to allow proxies that use `https`. Also added a test for proxy using https://github.com/jamesdbloom/mockserver.
This currently stops IIS correctly interpreting the boundary, preventing any form fields from being populated correctly. As far as I can tell from RFC spec it doesn't apply to multipart...
If an exception occurs while a coercion function is processing a response, then any code that attempts to catch the exception is unable to see the body, since this has...
I'm trying to run async requests with clj-http: ``` (comment (require '[clj-http.client :as client]) (require '[clj-http.conn-mgr :as conn]) (require '[clj-http.core :as http-core]) (def base "https://example.com") (def links (for [i (range...
Hello, ntlm auth doesn't work: ```clojure (def login "login") (def pass "pass") (def host "localhost") (def domain "domain") ;; Works and returns status 200. (let [nt (NTCredentials. login pass host...
Regardless of the requested content type, if an error occurs (such as 404) then the server will often return HTML or plain text to indicate the error. If EDN is...