Liking cljdoc? Tell your friends :D

cognitect-http-client

This is a fork of com.cognitect/http-client that is updated to work with Jetty 11, and will therefore coexist peacefully with ring/ring-jetty-adapter >= 1.11.0.

There isn't a public repo for com.cognitect/http-client; the source is only distributed via the jar, so this is based on the code from com.cognitect/http-client v1.0.127.

There are currently no tests here. It is unknown if the original source has tests, as they are not included in the jar.

It maintains the same API as com.cognitect/http-client, and only has the following changes to work with Jetty 11 instead of Jetty 9:

  • it depends on Jetty 11.0.20 instead of 9.4.53.v20231009
  • it tries to suppress Jetty's announcement in logging by setting the sysprop on java.lang.System instead of org.eclipse.jetty.util.log.Log, since the latter no longer exposes a way to access its properties.

Version coordinates

org.tcrawley/cognitect-http-client {:mvn/version "1.11.129"}

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close