Separately resent to the list because of mistyped address  ;-)

----- Weitergeleitete Nachricht von Jochen Roderburg <[EMAIL PROTECTED]>
-----
    Datum: Sun, 08 Jul 2007 16:22:59 +0200
    Von: Jochen Roderburg <[EMAIL PROTECTED]>
Antwort an: Jochen Roderburg <[EMAIL PROTECTED]>
 Betreff: Re: fix: don't send HEAD if -O is given
      An: Jochen Roderburg <[EMAIL PROTECTED]>

Zitat von Jochen Roderburg <[EMAIL PROTECTED]>:

> So the little difference was that this version did a (IMHO) unnecessary HEAD
> request in the case timestamping and no local file present. Not a big problem
> as such, but a side effect was that it created more cases for the other
> timestamp bug that I reported (timestamp for the local file is taken from the
> HEAD request and not from the GET request).

I think I remember now the motivation for this "unnecessary" HEAD request.
It *is* necessary as part of the support for getting the filename from the
"Content-Disposition" header. To know with which local file to compare you have
to get the headers from the server.
So I think the erroneous patch can simply be retracted. I don't know if there
was any other additional issue with the "-O" option. In older versions there
was the case, that with -O wget still looked at local files of the same name
than the remote file, but I think this does not happen anymore because it
already does no longer allow -O and timestamping together.


The remaining "real" bug is that the timestamp for the local file is taken from
the HEAD request and not from the GET request. Details for that are in the list
archive in http://www.mail-archive.com/[email protected]/msg09303.html


Best regards,

Jochen Roderburg
ZAIK/RRZK
University of Cologne
Robert-Koch-Str. 10                    Tel.:   +49-221/478-7024
D-50931 Koeln                          E-Mail: [EMAIL PROTECTED]
Germany




----- Ende der weitergeleiteten Nachricht -----



Reply via email to