From aae9157f43ced51ac777954309ec415dc0918b2d Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 21 Mar 2007 11:23:11 +0000 Subject: [PATCH] add the data block --- doc/qw-http-spec.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/qw-http-spec.txt b/doc/qw-http-spec.txt index 3bf1737f6..a4fe34367 100644 --- a/doc/qw-http-spec.txt +++ b/doc/qw-http-spec.txt @@ -1,12 +1,14 @@ client has 'h' flag in "*cap" info string format of svc_download message: - [url (string)] [newname (string)] + ([url (string)] [newname (string)] | [data]) size and percent are always present. url is present only for http redirects. +data is present only when size is > 0 (ie, normal downloading) + newname is present for all http redirects (but may be the empty string) or if the file to download has a different name to what what requested. This is so the client saves the downloaded file with the correct name (in QF, this is