List Info

Thread: Re: Fwd: lynx not honoring apache document root path




Re: Fwd: lynx not honoring apache document root path
country flaguser name
United Kingdom
2007-07-16 16:17:02
Thomas Dickey wrote:

> I had in mind to approach this by looking to see if I
could find when/why
> the leading "/" for a GET of a query is
optional (or not).

It's required by HTTP.  All within host relative addressing
must be 
handled by the client.  (When sending to a proxy, the http://host also 
needs to be sent, and it is also permitted, as an
alternative to Host: 
headers, for HTTP/1.1 clients.

Incidentally, one common cause of differential failure to
resolve 
relative URLs is the incorrect use of  instead of /. I
don't know if 
that applies here.

-- 
David Woolley
Emails are not formal business letters, whatever businesses
may want.
RFC1855 says there should be an address here, but, in a
world of spam,
that is no longer good advice, as archive address hiding may
not work.


_______________________________________________
Lynx-dev mailing list
Lynx-devnongnu.org
htt
p://lists.nongnu.org/mailman/listinfo/lynx-dev

Re: Fwd: lynx not honoring apache document root path
user name
2007-07-16 16:24:42
In a recent note, David Woolley said:

> Date: Mon, 16 Jul 2007 22:17:02 +0100
> 
> Incidentally, one common cause of differential failure
to resolve 
> relative URLs is the incorrect use of  instead of /. I
don't know if 
> that applies here.
> 
Incidentally, RFC 1738 says  must be escaped in URLs.
MSIE substitutes / for ; other browsers take it as is.
Neither is canonically correct; both amount to recovery
from syntax errors.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL


_______________________________________________
Lynx-dev mailing list
Lynx-devnongnu.org
htt
p://lists.nongnu.org/mailman/listinfo/lynx-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )