Open thkoch2001 opened 6 years ago
Hi there, thanks for pointing these out. I don't mind if you'd like to add some of these to the package, but I originally made it so that it conveniently supports just a simple use case of URI, namely simple URLs for the most common protocols.
There already are quite a few Haskell packages that have a more complete support for general purpose URIs (e.g., http://hackage.haskell.org/package/network-uri), so it might be better to fix those up, if they are missing anything. I believe the others are in much wider use too...
Anyway, if you are interested in working on this one to make it more general, I certainly don't mind, as long as we can keep the common case easy to use.
(Adding some TODO items, I might have time to work on)
In this library, URL can only represent the following parts of an URL:
Missing (see e.g https://developer.mozilla.org/en-US/docs/Web/API/URL ):