Babashka http-client: HTTP client for Clojure and babashka built on java.net.http
- #71: Link back to sources in release artifact (@lread)
- #73: Allow implicit ports when specifying the URL as a map (@lvh)
- #68 Fix accidental URI path decoding in uri-with-query
- #55: allow
:body
bejava.net.http.HttpRequest$BodyPublisher
- Support a Clojure function as
:client
option, mostly useful for testing
- #45: query param values are double encoded
- #43: when using a string key for
Accept
header, the value is overridden by the default
- #41: add
:uri
to response map
- Add
babashka.http-client.websocket
API (mostly based on hato, thanks @gnarroway). See API docs. - The
:ssl-context {:insecure true}
option was made more accepting, see babashka issue #1587 - #32: Documentation updates for missing parameters and functions (@casselc)
- #34: add construction helpers for
:cookie-handler
,:ssl-parameters
, and:executor
(@casselc)
- Fix #28: add
:authenticator
option
- Accept
java.net.URI
as uri directly inrequest
,get
, etc. - #22: Support options for
:ssl-context
, similar to hato - #23: ease construction of
ProxySelector
via:proxy
key
- Fix binary file uploads
- Add
:async-then
and:async-catch
callbacks that go together with:async
- Change
:follow-redirects
option from:always
to the safer:normal
- Merge client
:request
options earlier to pick up on:interceptors
settings
- Add
http/put
convenience function
- Implement
:multipart
uploads, largely based on hato's implementation - #13: Add a default user-agent header:
babashka.http-client/<released-version>
(@lispyclouds)
- #12: Do not uncompress (empty) body of
:head
request
- Introduce
:request
option inclient
function for passing default request options via client. - Expose
default-client-opts
, a map which can be used to get same behavior as (implicit) default client - Accept
gzip
anddeflate
as encoding in default client - Set accept header to
*/*
in default client
Initial version