sttp
sttp copied to clipboard
The Scala HTTP client you always wanted!
Updates * [co.fs2:fs2-core](https://github.com/typelevel/fs2) * [co.fs2:fs2-io](https://github.com/typelevel/fs2) * [co.fs2:fs2-reactive-streams](https://github.com/typelevel/fs2) from 3.2.11 to 3.2.12. [GitHub Release Notes](https://github.com/typelevel/fs2/releases/tag/v3.2.12) - [Version Diff](https://github.com/typelevel/fs2/compare/v3.2.11...v3.2.12) I'll automatically update this PR to resolve conflicts as long as you don't...
Hello, I'm trying to resolve a bug with sttp on Scala Native on macOS. I have this simple code : ```scala object Main extends App { import sttp.client3._ val request...
When a long-running HTTP request made via AsyncHttpClientMonixBackend is cancelled via a call to `Cancelable.cancel()`, something is printing the stack trace with `java.lang.InterruptedException` to the console. The code (Scala 3):...
sttp-finagle creates a new Finagle HTTP client upon each STTP request, causing a client leak that will result in eventual GC and resolution issues for `dest`s that reflect large clusters....
I'm trying to make a request through a secure http proxy using `sttp` and `async-http-client-backend-zio1` client. The proxy (squid) is working fine, I was able to connect through it on...
HttpURLConnectionBackend works fine without any configuration. But when I try to use async-http-client I get `HTTP/1.1 407 Proxy Authentication Required` So I need to set ``` options = SttpBackendOptions.httpProxy() ```...
It looks like AkkaHttp backend removes charset part of the content-type if the content type is "application/json". Please compare: `basicRequest.contentType(MediaType.ApplicationJson.charset("UTF-8"))` produces ``` User-Agent: akka-http/10.2.9 Content-Type: application/json ``` Custom content type...
As `target:jvm-11` or `target:jvm-1.11` seems to not be supported for Scala 2.11 and 2.12 I decided to drop it as we switch to Java 11 since `3.6.0`
Hi, I'm using sttp with tapir/http4s/fs2 to build a websocket server. My websocket endpoint is described with tapir as: ``` val instance = endpoint.get .in(PREFIX) .out(webSocketBodyRaw(Fs2Streams[IO])) ``` and my business...
```scala val uri = uri"192.168.1.1".scheme("http").port(8888) println(uri) http://:8888192.168.1.1 ``` In contrast, ```scala val uri = uri"http://192.168.1.1".port(8888) println(uri) http://192.168.1.1:8888 ```