guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module: (web client)


From: Andy Wingo
Subject: Re: new module: (web client)
Date: Tue, 06 Dec 2011 11:47:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Tue 19 Jul 2011 09:51, Peter Brett <address@hidden> writes:

> address@hidden (Ludovic Courtès) writes:
>
>> What if URI is file://foo?
>
> Per RFC 1630 & RFC 1738, a file URL takes the form:
>
>   file://host/path
>
> For local files, the HOST part is elided:
>
>   file:///path
>
> So IMHO the posted code isn't *wrong* per se. ;-)

In that it specifies "foo" as the host.

file:///path appears to be invalid according to RFC3986, as the `host'
part is not optional if // follows the scheme.  However,
file:///etc/hosts is used as an example in the RFC.  I'm not sure what
to think here.

What is clear is that file:///foo is definitely a "normal" URI, in
practice, so we should probably interpret ://[/?#] as indicating no
authority, instead of being invalid.  I have done this in stable-2.0.

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]