Uri class and parser

Mike van Dongen dlang at mikevandongen.nl
Fri Oct 26 07:13:19 PDT 2012


On Friday, 26 October 2012 at 11:52:09 UTC, John Chapman wrote:
> Looks good.
>
> Does it handle relative URIs? It would also be nice to support 
> combining URIs from an absolute and relative portion.
>
> Another omission is handling file URIs.

It doesn't support relative URIs as their syntax is not 
officially defined in RFC 3986, nor are there any relative URIs 
in the examples:
http://tools.ietf.org/html/rfc3986#section-1.1.2

I am however considering it because even though not (clearly) 
defined, they are URIs and they are often used.


Definition of URI on Wikipedia:
> "In computing, a uniform resource identifier (URI) is a string 
> of characters used to identify a name or a resource."




More information about the Digitalmars-d mailing list