std has a tiny and weak URI library. It's tiny and weak because URIs are so free and open. But 99% of the time, the URI I'm dealing with is a URL, and URLs are much more narrowly specified.
I've written http://code.dlang.org/packages/urld, but this sort of thing really belongs in the standard library.
Comment #1 by alphaglosined — 2015-11-27T03:37:17Z
(In reply to Chris Wright from comment #0)
> std has a tiny and weak URI library. It's tiny and weak because URIs are so
> free and open. But 99% of the time, the URI I'm dealing with is a URL, and
> URLs are much more narrowly specified.
>
> I've written http://code.dlang.org/packages/urld, but this sort of thing
> really belongs in the standard library.
I've got https://github.com/rikkimax/alphaPhobos/blob/master/source/std/experimental/uri.d which is more or less ready to go.
It supports allocators and is unittested pretty well.
I just haven't been bothered to get this in yet.
You or anybody else who wants to get this into Phobos can.
Comment #2 by robert.schadek — 2024-12-01T16:25:30Z