Hi sven
thank you for the time you spent replying to me :)
> Yes, this is confusing.
>
> The first 2 forward slashed are part of the scheme, file:// or http://
>
> Next comes the host:port, but that does not make too much sense for a File
> URL.
>
> Finally comes the path.
>
> For the syntax
Stef,
Yes, this is confusing.
The first 2 forward slashed are part of the scheme, file:// or http://
Next comes the host:port, but that does not make too much sense for a File URL.
Finally comes the path.
For the syntax to make sense, you need a third / (to indicate that there is no
host:port
Hi
I’m a bit confused. When I use isAbsolute I get
'file:///toto.png' asUrl isAbsolute
>>> false
'file://toto.png' asUrl isAbsolute
>>> true
Now I confused because as Unix / is absolute so file://toto.png
would be relative.
and /foo is absolute.
Are URLs so different than files?
Are t