network-uri
network-uri copied to clipboard
URI manipulation facilities
I am constantly finding myself in situations where I have to validate URI hosts specifically. Exporting a check from here would help.
The blessings of the new `x-partial` warning will be bestowed unto you by GHC 9.8: ``` Network/URI.hs:1131:12: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined...
`isUnescapedInURI` documentation says: > Returns **True if the character is allowed unescaped** in a URI. However, its implementation is: ```haskell isUnescapedInURI c = isReserved c || isUnreserved c ``` where...
Trying to upgrade cabal from 1.24.0.2 to 3.2 and the network-uri package build fails with `ghc: setNumCapabilities: not supported on this platform`. This does seem like a `ghc` bug so...
Is there any intention to tag releases for this on github?
Following https://github.com/haskell/network-uri/issues/56, this is a proposal to expose a couple of main Parsec parsers so that users can compose further combinators on top of them. My inclination is to be...
The library exports `String -> Maybe URI` functions, but this is not easy to compose with other parsers. For example, I'm writing a tokeniser that needs to identify URIs and...
UriAuth is under Maybe - as I understood due to wrap relative/absolute URIs under one type. If I have abs. URI I will propagate those Maybe anywhere. Better may be...