RFC & RTFM!

Schmökert man etwas in RFC 1738, so findet man dort auch Folgendes:

2.1. The main parts of URLs

A full BNF description of the URL syntax is given in Section 5.

In general, URLs are written as follows:

<scheme>:<scheme-specific-part>

A URL contains the name of the scheme being used (<scheme>) followed by a colon and then a string (the <scheme-specific-part>) whose interpretation depends on the scheme.

Scheme names consist of a sequence of characters. The lower case letters "a"–"z", digits, and the characters plus ("+"), period ("."), and hyphen ("-") are allowed. For resiliency, programs interpreting URLs should treat upper case letters as equivalent to lower case in scheme names (e.g., allow "HTTP" as well as "http").

 Ohne jetzt genauer auf die in Sektion 5 spezifizierte Backus-Naur-Form einer URL einzugehen, lässt sich schon deutlich feststellen: Eine Adresse im "World Wide Web" hat mit http:// zu beginnen!

 Argh.

Leave a Reply