sttp-model icon indicating copy to clipboard operation
sttp-model copied to clipboard

Simple Scala HTTP model

Results 11 sttp-model issues
Sort by recently updated
recently updated
newest added

Hello! Surprisingly it turned out that we need one additional delimiter character to correctly encode urls

I have issue with UriInterpolator attempting to decode part of URL which which is not originally encoded (just contains % character) or was already decoded. Sample URL `https://storage.googleapis.com/realtyplusmag-news-photo/news-photo/108462.Welspun-Set-To-Acquire-70%-Debt-Of-Sintex-BAPL-2.jpg` Stack trace...

Hi. I've got rather peculiar case, when I needed for an url to retain in exactly the same way, as it was in the string, because some parts of it...

So that they can be evolved, see this PR: https://github.com/softwaremill/sttp-model/pull/210

v2

`Header.unapply` [returns an `Option`](https://github.com/softwaremill/sttp-model/blob/e76986ca7687935f62dc22bfbafc5c05726a1a52/core/src/main/scala/sttp/model/Header.scala#L61). From the compiler's point of view, this means that it can potentially fail - meaning a pattern match like this ```scala header match { case Header(_,...

v2

## About this PR 📦 Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.8.2` to `3.8.3` 📜 [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.8.3) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.8.2...v3.8.3) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

The model defined in https://github.com/softwaremill/sttp-model/blob/afd84a6e357c53b79ee7344a890223758285fbc5/core/src/main/scala/sttp/model/sse/ServerSentEvent.scala#L5-L18 does not match the specification at https://html.spec.whatwg.org/multipage/server-sent-events.html#event-stream-interpretation Specifically, this part: > If the line starts with a U+003A COLON character (:) > > Ignore the...

## About this PR 📦 Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.9.4` to `3.9.10` 📜 [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.9.10) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.9.4...v3.9.10) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...