them. The path is passed by the client to the server with any
request, but is not otherwise understood by the client.
The host details are not passed on to the client when the URL is an
HTTP URL which refers to the server in question. In this case the
string sent starts with the slash which follows the host details.
However, when an HTTP server is being used as a gateway (or "proxy")
then the entire URI, whether HTTP or some other scheme, is passed on
the HTTP command line. The search part, if present, is sent as part
of the HTTP command, and may in this respect be treated as part of
the path. No fragmentid part of a WWW URI (the hash sign and
following) is sent with the request. Spaces and control characters
in URLs must be escaped for transmission in HTTP, as must other
disallowed characters.
EXAMPLES
These examples are not part of the specification: they are
provided as illustations only. The URI of the "welcome" page to a
server is conventionally
http://www.my.work.com/
As the rest of the URL (after the hostname an port) is opaque
to the client, it shows great variety but the following are all
fairly typical.
RFC 1630 URIs in WWW June 1994
http://www.my.uni.edu/info/matriculation/enroling.html
http://info.my.org/AboutUs/Phonebook
http://www.library.my.town.va.us/Catalogue/76523471236%2Fwen44--4.98
http://www.my.org/462F4F2D4241522A314159265358979323846
A URL for a server on a different port to 80 looks like
http://info.cern.ch:8000/imaginary/test
A reference to a particular part of a document may, including the
fragment identifier, look like
http://www.myu.edu/org/admin/people#andy
in which case the string "#andy" is not sent to the server, but is
retained by the client and used when the whole object had been
retrieved.
A search on a text database might look like
http://info.my.org/AboutUs/Index/Phonebook?dobbins
and on another database
http://info.cern.ch/RDB/EMP?*%20where%20name%%3Ddobbins
In all cases the client passes the path string to the server
uninterpreted, and for the client to deduce anything from
FTP
The ftp: prefix indicates that the FTP protocol is used, as defined
in STD 9, RFC 959 or any successor. The port number, if present,
gives the port of the FTP server if not the FTP default.
User name and password
The syntax allows for the inclusion of a user name and even a
password for those systems which do not use the anonymous FTP
convention. The default, however, if no user or password is
supplied, will be to use that convention, viz. that the user name
is "anonymous" and the password the user's Internet-style mail
address.
RFC 1630 URIs in WWW June 1994
Where possible, this mail address should correspond to a usable
mail address for the user, and preferably give a DNS host name
which resolves to the IP address of the client. Note that servers
currently vary in their treatment of the anonymous password.
Path
The FTP protocol allows for a sequence of CWD commands (change
working directory) and a TYPE command prior to service commands
such as RETR (retrieve) or NLIST (etc.) which actually access a
=8= |