** Support FTP listing for the FTP Server on Windows Server 2008 R2.
+** Fix a regression when -c and --content-disposition are used together.
\f
* Changes in Wget 1.14
+2012-10-06 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (http_loop): Send a HEAD request when -c and
+ --content-disposition are used together.
+
2012-09-29 Merinov Nikolay <kim.roader@gmail.com>
* ftp-ls.c (ftp_parse_winnt_ls): Support filename extracting with
if (!opt.spider)
send_head_first = false;
+ /* Send preliminary HEAD request if --content-disposition and -c are used
+ together. */
+ if (opt.content_disposition && opt.always_rest)
+ send_head_first = true;
+
/* Send preliminary HEAD request if -N is given and we have an existing
* destination file. */
file_name = url_file_name (opt.trustservernames ? u : original_url, NULL);