You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like modern-uri might be a better library to use than uri-bytestring? Haven't done a detailed comparison but I much prefer the use of Text over ByteString for textual data like URIs.
Looking at https://hackage.haskell.org/package/servant-client-core-0.13.0.1/docs/Servant-Client-Core-Internal-BaseUrl.html I can think of following benefits/reasons switching to https://hackage.haskell.org/package/uri-bytestring-0.3.1.1/docs/URI-ByteString.html#t:URIRef
a) haskell code around client can use
URIRef
type to construct the base url and pass it directly to servant-clientb) No changes necessary to servant-client, if for example one chooses to use basic auth (given that's it's mandated by proxy like nginx)
c)
uri-bytestring
is already a dependency ofhttp-api-data
thatservant-client-core
depends ond) Removal of BaseUrl and the need to maintain it
Duplicates #139
The text was updated successfully, but these errors were encountered: