lftp-pre 2.3.0 and GET method

2000-08-26 Thread Albert Chin-A-Young
% /opt/build/lftp/src/lftp -u [user],[password] 'http://updates.thewrittenword.com/?distribution=cd' Resolving host address... dns cache hit Connecting to updates.thewrittenword.com (216.80.59.108) port 80 Sending request... --- HEAD /?distribution=cd/ HTTP/1.1 --- Host:

Re: lftp-pre 2.3.0 and GET method

2000-08-26 Thread Alexander V. Lukyanov
On Sat, Aug 26, 2000 at 02:18:57AM -0500, Albert Chin-A-Young wrote: Why does lftp append '/' to the URL (i.e. from /?distribution=cd to /?distribution=cd/)? Because it expects that to be a directory. When one does cd, the trailing slash is not needed, but http servers expect trailing slash