X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=ace3bfe56d1ba4adb8aea31c5884a2a45b6e233c;hp=c3ec2e0d976a3d1d023002ea28560701013d9e53;hb=117c25970b830538b4b869a23e61316198cd3f7c;hpb=aca9f566b66c287a5eb4b32ade7140df16b6050e diff --git a/src/http.c b/src/http.c index c3ec2e0d..ace3bfe5 100644 --- a/src/http.c +++ b/src/http.c @@ -2680,7 +2680,8 @@ File %s already there; not retrieving.\n\n"), /* Send preliminary HEAD request if -N is given and we have an existing * destination file. */ file_name = url_file_name (u); - if (opt.timestamping && file_exists_p (file_name)) + if (opt.timestamping && (file_exists_p (file_name) + || opt.content_disposition)) send_head_first = true; xfree (file_name);