Skip to content

Commit c261602

Browse files
committed
Remove some commented-out tests
Persistent HTTP connections are not supported (per Readme.md)
1 parent 5939679 commit c261602

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/clj_http/test/client.clj

-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@
1212
;; roundtrip with scheme as a keyword
1313
(let [resp (client/request (merge (base-req) {:uri "/get" :method :get}))]
1414
(is (= 200 (:status resp)))
15-
#_(is (= "close" (get-in resp [:headers "connection"])))
1615
(is (= "get" (:body resp))))
1716
;; roundtrip with scheme as a string
1817
(let [resp (client/request (merge (base-req) {:uri "/get"
1918
:method :get
2019
:scheme "http"}))]
2120
(is (= 200 (:status resp)))
22-
#_(is (= "close" (get-in resp [:headers "connection"])))
2321
(is (= "get" (:body resp)))))
2422

2523
(defn is-passed [middleware req]

0 commit comments

Comments
 (0)