diff -up lftp-3.6.1/src/HttpDir.cc.empty_argument lftp-3.6.1/src/HttpDir.cc
--- lftp-3.6.1/src/HttpDir.cc.empty_argument 2007-08-29 13:20:13.000000000 +0200
+++ lftp-3.6.1/src/HttpDir.cc 2008-01-25 14:00:43.000000000 +0100
@@ -70,6 +70,8 @@ static bool find_value(const char *scan,
if(*scan=='"' || *scan=='\'')
quote=*scan++;
+ if(match)
+ store.set("");
while(scan<more && (quote ? *scan!=quote : !is_ascii_space(*scan)))
{
if(match)