We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5939679 commit c261602Copy full SHA for c261602
test/clj_http/test/client.clj
@@ -12,14 +12,12 @@
12
;; roundtrip with scheme as a keyword
13
(let [resp (client/request (merge (base-req) {:uri "/get" :method :get}))]
14
(is (= 200 (:status resp)))
15
- #_(is (= "close" (get-in resp [:headers "connection"])))
16
(is (= "get" (:body resp))))
17
;; roundtrip with scheme as a string
18
(let [resp (client/request (merge (base-req) {:uri "/get"
19
:method :get
20
:scheme "http"}))]
21
22
23
(is (= "get" (:body resp)))))
24
25
(defn is-passed [middleware req]
0 commit comments