W3C home > Mailing lists > Public > site-comments@w3.org > September 2001

Re: address

From: Ian B. Jacobs <ij@w3.org>
Date: Thu, 06 Sep 2001 09:27:00 -0400
Message-ID: <3B9779A4.1D97BB31@w3.org>
To: "Hidy, David E, PERSCOM" <David.Hidy@hoffman.army.mil>
CC: "'site-comments@w3.org'" <site-comments@w3.org>
"Hidy, David E, PERSCOM" wrote:
> 
> One of the things I could not find in faq, or anywhere, is what is the
> correct, if any, format
> For addresses
> Lower case, should http be there, etc.

If you are referring to URIs (e.g., http://www.w3.org/), 
legal syntax is defined by an IETF specification: RFC2396 [1].

Case-sensitivity is determined by each Web server. For instance,
the W3C Web server is generally tolerant of incorrect case
and will correct it for you. So HTTP://WWW.W3.ORG/ will work.

Your browser also does some correction for you. The "http"
part (or whatever scheme is pertinent) is mandatory, so if
it's not present, the browser typically adds it for you.
The typical browser tries a number of tricks and stops when it
finds a page that matches. So, in my Netscape browser, if
I type "w3.org", the browser tries until it finds that adding
"http" and "www" in front produces a page. 

I'm not sure whether or where browser developers document
the tests they go through. If you use the Lynx text browser,
Lynx reports its attempts with various repairs.

Hope that helps,

 - Ian

[1] ftp://ftp.isi.edu/in-notes/rfc2396.txt


-- 
Ian Jacobs (ij@w3.org)   http://www.w3.org/People/Jacobs
Tel:                     +1 718 260-9447
Received on Thursday, 6 September 2001 09:29:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:26 GMT