From fb7fc237f737989c06c2979cb366d8b32e689450 Mon Sep 17 00:00:00 2001 From: micah Date: Wed, 8 Aug 2007 00:30:26 -0700 Subject: [PATCH] [svn] Fix for #20659 - Content-Disposition off by default. --- ChangeLog | 5 +++++ NEWS | 7 +++++-- src/ChangeLog | 5 +++++ src/init.c | 1 - 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 075d7ca5..6d9a5ac3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-08 Micah Cowan + + * NEWS: Call attention to the fact that Content-Disposition is + not enabled by default. + 2007-08-07 Micah Cowan * configure.in: Fix --with-libssl-prefix failure by replacing diff --git a/NEWS b/NEWS index 3b49ca88..41cc5c0e 100644 --- a/NEWS +++ b/NEWS @@ -24,8 +24,11 @@ automatically, and continue to require a challenge for each resource. be the maximum number of HTTP redirects to follow. ** Wget now saves HTTP downloads using file names specified by the -`Content-Disposition' header. This is a standard way of specifying -the file name used by many web dynamically generated pages. +`Content-Disposition' header. This is a standard way of specifying the +file name used by many web dynamically generated pages. For the time +being, Content-Disposition is not used by default, to avoid the extra +round-trips incurred (must specify "-e contentdisposition=yes"); this +may change in a future version. ** The GnuTLS library is now also supported for https downloads. This is still work-in-progress. OpenSSL is still used by default; use diff --git a/src/ChangeLog b/src/ChangeLog index ee120fc0..0ef8b83d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-08-08 Micah Cowan + + * init.c (defaults): Content disposition will not be default, + since it currently results in extra round-trips. + 2007-07-31 Micah Cowan * http.c (gethttp): Set contlen = -1 when we encounter a diff --git a/src/init.c b/src/init.c index 8989a0e0..7d861922 100644 --- a/src/init.c +++ b/src/init.c @@ -321,7 +321,6 @@ defaults (void) opt.restrict_files_ctrl = true; opt.restrict_files_case = restrict_no_case_restriction; - opt.content_disposition = true; opt.max_redirect = 20; }