httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ics.uci.edu>
Subject Re: [PATCH] proxy and ftp://site/dir//file
Date Tue, 28 Oct 1997 22:52:54 GMT
>Sigh.  Whatever we do we violate a spec.  I guess I would give the FTP one
>less weight, but... I'm not sure the URL one completely makes sense.

Don't use RFC 1738 as a reference for anything.  It doesn't reflect
reality and should have been replaced long ago.

If you want to know what the URI/URL syntax is, see

   http://www.ics.uci.edu/~fielding/url/

For the "ftp" URL, the only usable description is within the W3C libwww
library (i.e., read the code, because the spec is crap).  I wrote down
why it is crap about three years ago (when RFC 1738 was being reviewed by
the IESG), but I can't find that message now.  Basically, you want to try
the longest path first, then longest CWD, then trim it backwords until you
either succeed or figure out why it is failing.  Individual CWDs do not
work because some FTP servers do not allow the client to do so. Henrik Frystyk
is probably the only person who can describe it correctly.  The individual
scheme descriptions are supposed to be updated once the generic syntax
document is approved.

....Roy

Mime
View raw message