[Q] Isn't 'file://foo/bar' asUrl supposed to give a relative
FileUrl?
Lex Spoon
lex at cc.gatech.edu
Wed Aug 6 18:36:26 UTC 2003
Markus Gaelli <gaelli at emergent.de> wrote:
> > > You mean a "relative url"? There is no such thing.
> Mmmh, but why is there an instance-variable called "isAbsolute" in
> FileUrl?
> Should we get rid of that?
It's a useful extension. Such a URL is not covered in the RFC's, but it
is useful and people do it. It also means that a url like 'www.abc.com'
(also not in the RFC's) can be parsed as 'http://www.abc.com'.
I didn't realize that a host was required for file url's. It's almost useless,
especially for Squeak, but I guess it would better nice to support the standard here.
Lex
More information about the Squeak-dev
mailing list
|