File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
; ; Only for the git dependency of tools.deps
2
- {:deps {clj-http/clj-http {:mvn/version " 3.13.0" }
3
- com.cognitect.aws/api {:mvn/version " 0.8.692" }
2
+ {:deps {com.cognitect.aws/api {:mvn/version " 0.8.692" }
4
3
com.cognitect.aws/endpoints {:mvn/version " 871.2.30.11" }
5
4
com.cognitect.aws/s3 {:mvn/version " 871.2.30.11" }
6
5
com.github.mwiede/jsch {:mvn/version " 0.2.24" }
7
6
commons-net/commons-net {:mvn/version " 3.11.1" }
8
7
lambdaisland/uri {:mvn/version " 1.19.155" }
9
8
org.apache.commons/commons-compress {:mvn/version " 1.27.1" }
9
+ org.clj-commons/clj-http-lite {:mvn/version " 1.0.13" }
10
10
org.clj-commons/digest {:mvn/version " 1.4.100" }
11
11
org.clojure/clojure {:mvn/version " 1.12.0" }
12
12
progrock/progrock {:mvn/version " 1.0.0" }}}
Original file line number Diff line number Diff line change 3
3
:url " https://github.com/totakke/cavia"
4
4
:license {:name " The MIT License"
5
5
:url " https://opensource.org/licenses/MIT" }
6
- :dependencies [[clj-http " 3.13.0" ]
7
- [com.cognitect.aws/api " 0.8.692" ]
6
+ :dependencies [[com.cognitect.aws/api " 0.8.692" ]
8
7
[com.cognitect.aws/endpoints " 871.2.30.11" ]
9
8
[com.cognitect.aws/s3 " 871.2.30.11" ]
10
9
[com.github.mwiede/jsch " 0.2.24" ]
11
10
[commons-net " 3.11.1" ]
12
11
[lambdaisland/uri " 1.19.155" ]
13
12
[org.apache.commons/commons-compress " 1.27.1" ]
13
+ [org.clj-commons/clj-http-lite " 1.0.13" ]
14
14
[org.clj-commons/digest " 1.4.100" ]
15
15
[org.clojure/clojure " 1.12.0" ]
16
16
[progrock " 1.0.0" ]]
Original file line number Diff line number Diff line change 4
4
[cavia.internal :refer [str->int]]
5
5
[cavia.sftp :as sftp]
6
6
[cavia.util :as util]
7
- [clj-http.client :as client]
7
+ [clj-http.lite. client :as client]
8
8
[clojure.java.io :as io]
9
9
[cognitect.aws.client.api :as aws]
10
10
[cognitect.aws.credentials :as credentials]
57
57
:oauth2 {:oauth-token (:token auth)}
58
58
nil )
59
59
(when resume
60
- {:headers {: range (str " bytes=" resume " -" )}}))
60
+ {:headers {" range" (str " bytes=" resume " -" )}}))
61
61
response (client/get url option)
62
62
content-len (if-let [content-len (get-in response [:headers " content-length" ])]
63
63
(str->int content-len) -1 )
You can’t perform that action at this time.
0 commit comments