]> sjero.net Git - wget/blob - TODO
[svn] TODO: Make wget follow (illegal) relative URL HTTP redirects.
[wget] / TODO
1                                  Hey Emacs, this is -*- outline -*- mode
2
3 This is the to-do list for Wget.  There is no timetable of when we plan to
4 implement these features -- this is just a list of things it'd be nice to see in
5 Wget.  Patches to implement any of these items would be gladly accepted.  The
6 items are not listed in any particular order.  Not all of them represent
7 user-visible changes.
8
9 * Lots of noncompliant webservers issue HTTP redirects to relative URLs, and
10   browsers follow them, so wget should too.
11
12 * Make wget return non-zero status in more situations, like incorrect HTTP auth.
13
14 * Timestamps are sometimes not copied over on files retrieved by FTP.
15
16 * Wget does not currently handle "fragment identifiers" (the part of a URL 
17   starting with the '#' character) properly.
18
19 * Make -K compare X.orig to X and move the former on top of the latter if 
20   they're the same, rather than leaving identical .orig files laying around.
21
22 * Add an option to save all text/html files with a .html extension so that when
23   grabbing the output of a dynamically-generated remote page, you'll end up with
24   a filename that will cause _your_ webserver to realize the saved static HTML
25   file isn't text/plain (or an illegal CGI script in the case of *.cgi).
26
27 * Allow mirroring of FTP URLs where logging in puts you somewhere else besides 
28   '/'. 
29
30 * Make `-k' convert <base href=...> too.
31
32 * Make `-k' check for files that were downloaded in the past and convert links 
33   to them in newly-downloaded documents.
34
35 * -k should convert convert relative references to absolute if not downloaded.
36
37 * -k should convert "hostless absolute" URLs, like <A HREF="/index.html">.
38   However, Brian McMahon <bm@iucr.org> wants the old incorrect behavior to still
39   be available as an option, as he depends on it to allow mirrors of his site to
40   send CGI queries to his original site, but still get graphics off of the
41   mirror site.  Perhaps this would be better dealt with by adding an option to
42   tell -k not to convert certain URL patterns?
43
44 * Add option to clobber existing file names (no `.N' suffixes).
45
46 * Introduce a concept of "boolean" options.  For instance, every
47   boolean option `--foo' would have a `--no-foo' equivalent for
48   turning it off.  Get rid of `--foo=no' stuff.  Short options would
49   be handled as `-x' vs. `-nx'.
50
51 * Implement "thermometer" display (not all that hard; use an
52   alternative show_progress() if the output goes to a terminal.)
53
54 * Add option to only list wildcard matches without doing the download.
55
56 * Add case-insensitivity as an option.
57
58 * Handle MIME types correctly.  There should be an option to (not)
59   retrieve files based on MIME types, e.g. `--accept-types=image/*'.
60
61 * Implement "persistent" retrieving.  In "persistent" mode Wget should
62   treat most of the errors as transient.
63
64 * Allow time-stamping by arbitrary date.
65
66 * Fix Unix directory parser to allow for spaces in file names.
67
68 * Allow size limit to files.
69
70 * Recognize HTML comments correctly.  Add more options for handling
71   bogus HTML found all over the 'net.
72
73 * Implement breadth-first retrieval.
74
75 * Download to .in* when mirroring.
76
77 * Add an option to delete or move no-longer-existent files when
78   mirroring.
79
80 * Implement a switch to avoid downloading multiple files (e.g. x and
81   x.gz).
82
83 * Implement uploading (--upload URL?) in FTP and HTTP.
84
85 * Rewrite FTP code to allow for easy addition of new commands.  It
86   should probably be coded as a simple DFA engine.
87
88 * Recognize more FTP servers (VMS).
89
90 * Make HTTP timestamping use If-Modified-Since facility.
91
92 * Implement better spider options.
93
94 * Add more protocols (e.g. gopher and news), implementing them in a
95   modular fashion.
96
97 * Implement a concept of "packages" a la mirror.
98
99 * Implement correct RFC1808 URL parsing.
100
101 * Implement HTTP cookies.
102
103 * Implement more HTTP/1.1 bells and whistles (ETag, Content-MD5 etc.)
104
105 * Support SSL encryption through SSLeay or OpenSSL.