Closed borkdude closed 3 years ago
See test:
(deftest compressed-test (is (-> (curl/get "https://api.stackexchange.com/2.2/sites") :body (json/parse-string true) :items)) (is (thrown? Exception (-> (curl/get "https://api.stackexchange.com/2.2/sites" {:compressed false}) :body (json/parse-string true) :items))))
See test: