+2010-06-14 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (http_loop): Always send a HEAD request when -N is used
+ together with --content-disposition.
+ Reported by: Jochen Roderburg <Roderburg@Uni-Koeln.DE>.
+
2010-06-10 Muthu Subramanian K <muthusuba@gmail.com> (tiny change)
* http.c (http_loop): Increase `total_downloaded_bytes' by
/* 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);