[Pharo-project] [COTDC] 59 - HierarchicalURI

laurent laffont laurent.laffont at gmail.com
Thu May 5 14:17:53 EDT 2011


Thanks Cédrick.

May be the right comment is:

See URI

?

Laurent.

On Thu, May 5, 2011 at 2:11 PM, Cédrick Béler <cdrick65 at gmail.com> wrote:

> part taken from URI class comment:
>
> "A hierarchical URI is either an absolute URI whose scheme-specific part
> begins with a slash character, or a relative URI, that is, a URI that does
> not specify a scheme. Some examples of hierarchical URIs are:
>
> http://www.pharo-project.org/home
> file:///~/calendar
>
> A hierarchical URI is subject to further parsing according to the syntax
>  [scheme:][//authority][path][?query][#fragment]
> where the characters :, /, ?, and # stand for themselves. The
> scheme-specific part of a hierarchical URI consists of the characters
> between the scheme and fragment parts.
>
> The authority part of a hierarchical URI is, if specified, either
> server-based or registry-based. A server-based authority parses according to
> the  syntax
> [user-info@]host[:port]
> where the characters @ and : stand for themselves. Nearly all URI schemes
> currently in use are server-based. An authority part that does not parse in
> this way is considered to be registry-based.
>
> The path component of a hierarchical URI is itself said to be absolute if
> it begins with a slash character ('/'); otherwise it is relative. The path
> of a hierarchical URI that is either absolute or specifies an authority is
> always absolute."
>
>
> Le 4 mai 2011 à 21:20, laurent laffont a écrit :
>
> Today:  HierarchicalURI
>
>
> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment
> will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
>
> Laurent
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110505/8c077a40/attachment.html>


More information about the Pharo-dev mailing list