babashka / babashka.curl

A This library is mostly replaced by https://github.com/babashka/http-client
Eclipse Public License 1.0
121 stars 9 forks source link

Ability to stop following redirects automatically #41

Closed sudorock closed 3 years ago

borkdude commented 3 years ago

Looks good. Is there a good way to tests this? Then please also add a test.

borkdude commented 3 years ago

@sudorock Thanks. Merged and also bumped babashka. If you want to use this change in the currently released babashka you can add this library as a dependency and use (:require [babashka.curl :as curl] :reload). The :reload keyword makes babashka pick up on the source rather than the built-in version.

sudorock commented 3 years ago

@sudorock Thanks. Merged and also bumped babashka. If you want to use this change in the currently released babashka you can add this library as a dependency and use (:require [babashka.curl :as curl] :reload). The :reload keyword makes babashka pick up on the source rather than the built-in version.

That's quite interesting, thanks @borkdude