yav / url

A URL package for Haskell
http://www.haskell.org/haskellwiki/Url
MIT License
13 stars 6 forks source link

URL is missing many parts of an URL #5

Open thkoch2001 opened 6 years ago

thkoch2001 commented 6 years ago

(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 ):

yav commented 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.