[svn] Fix for #20659 - Content-Disposition off by default.

This commit is contained in:
micah 2007-08-08 00:30:26 -07:00
parent 13117dc9a5
commit fb7fc237f7
4 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-08-08 Micah Cowan <micah@cowan.name>
* NEWS: Call attention to the fact that Content-Disposition is
not enabled by default.
2007-08-07 Micah Cowan <micah@cowan.name>
* configure.in: Fix --with-libssl-prefix failure by replacing

7
NEWS
View File

@ -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

View File

@ -1,3 +1,8 @@
2007-08-08 Micah Cowan <micah@cowan.name>
* init.c (defaults): Content disposition will not be default,
since it currently results in extra round-trips.
2007-07-31 Micah Cowan <micah@cowan.name>
* http.c (gethttp): Set contlen = -1 when we encounter a

View File

@ -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;
}