File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -372,9 +372,10 @@ content encodings.
372372;; Some Multipart bodies can also support more keys (like :encoding
373373;; and :mime-type), check src/clj-http/multipart.clj to see all flags
374374
375- ;; Apache's http client automatically retries on IOExceptions, if you
376- ;; would like to handle these retries yourself, you can specify a
377- ;; :retry-handler. Return true to retry, false to stop trying:
375+ ;; Apache's HTTP client automatically retries some kinds of IOExceptions:
376+ ;; https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/org/apache/http/impl/client/DefaultHttpRequestRetryHandler.html
377+ ;; If you would like to handle retries yourself, you can specify a :retry-handler.
378+ ;; Return true to retry, false to stop trying:
378379(client/post "http://example.org" {:multipart [["title" "Foo"]
379380 ["Content/type" "text/plain"]
380381 ["file" (clojure.java.io/file "/tmp/missing-file")]]
You can’t perform that action at this time.
0 commit comments