servant/servant-client-core/src/Servant/Client
Gaël Deest 658217b021 Use toEncodedUrlPiece directly when encoding captures
Current implementation of captures uses the `toUrlPiece` method from the
`ToHttpApiData` typeclass, and encodes the resulting `Text` using `toEncodedUrlPiece`
when appending to the request path.

The problem with this approach is that the instance for `Text` percent-encodes
characters that are perfectly valid in URLs, such as `*`.

This patch makes direct use of `toEncodedUrlPiece`, which lets users implement
encoding according to their needs.

Closes #1511
2022-03-21 17:29:23 +01:00
..
Core Use toEncodedUrlPiece directly when encoding captures 2022-03-21 17:29:23 +01:00
Core.hs Export encoding function for a query parameter value (#1549) 2022-03-01 15:22:25 +01:00
Free.hs Refactor servant-client-core 2019-02-18 19:08:13 +02:00
Generic.hs Code reorganization 2021-11-18 10:09:58 +01:00