sttp
sttp copied to clipboard
The Scala HTTP client you always wanted!
In brief: I would like to have access to the preinterpolated version of `uri`. I want to get metrics for my SttpBackends grouped by paths. Requests like `GET /users/123` and...
The safe `Uri.parse` function does not fail on invalid URIs. Examples: - `Uri.parse(" ")` returns `Right(http://%20)` - `Uri.parse("https:/ /uri")` returns `Right(http://https%3A%2F%20%2Furi)` Expected: `Left("Invalid URI")` or some similar message Also, not...
Can you provide an example about how can we make POST call with raw body in sttp. So far I have only dealt with form data. My raw body can...
sttp on REPL is very verbose. can we minimise it not to log all the information. setup ```bash scala> import scala.concurrent.ExecutionContext.Implicits.global import scala.concurrent.ExecutionContext.Implicits.global scala> import com.softwaremill.sttp._ import com.softwaremill.sttp._ scala> import...
closes #1225
Once https://github.com/akka/akka-http/pull/3901 is merged & released
https://akka.io/blog/news/2021/12/20/akka-2.6.18-released
Basic implementation for a zio-backend wrapping a Akka-Http Backend. Normal requests work, however I need help converting from `AkkaStreams with WebSockets` to `ZioStreams with WebSockets`. Any pointers highly appreciated!
Hi, If I read correctly the dependency tree, `async-http-client-backend` currently depends on `async-http-client` v2.12.3, which pulls `netty-codec` v4.1.60.Final, which according to Sonatype Lift is subject to the following vulnerabilities: -...
Updates * [dev.zio:zio](https://github.com/zio/zio) * [dev.zio:zio-streams](https://github.com/zio/zio) from 1.0.16 to 1.0.17. [GitHub Release Notes](https://github.com/zio/zio/releases/tag/v1.0.17) - [Version Diff](https://github.com/zio/zio/compare/v1.0.16...v1.0.17) I'll automatically update this PR to resolve conflicts as long as you don't change it...