X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fwget.h;h=5dd71d21cde23a4ca4108a0dbd459ca63efe3cef;hp=ffcee1cae97d92462783077f8c10b33708f3a228;hb=b3e2c0ff97765cc7a44d840d1eb94447a2ea125f;hpb=de7c00c095644486e5d6d51e39a5e63b519b16b5 diff --git a/src/wget.h b/src/wget.h index ffcee1ca..5dd71d21 100644 --- a/src/wget.h +++ b/src/wget.h @@ -202,14 +202,15 @@ extern const char *exec_name; #endif -/* Document-type flags */ +/* Document type ("dt") flags */ enum { - TEXTHTML = 0x0001, /* document is of type text/html */ - RETROKF = 0x0002, /* retrieval was OK */ - HEAD_ONLY = 0x0004, /* only send the HEAD request */ - SEND_NOCACHE = 0x0008, /* send Pragma: no-cache directive */ - ACCEPTRANGES = 0x0010 /* Accept-ranges header was found */ + TEXTHTML = 0x0001, /* document is of type text/html */ + RETROKF = 0x0002, /* retrieval was OK */ + HEAD_ONLY = 0x0004, /* only send the HEAD request */ + SEND_NOCACHE = 0x0008, /* send Pragma: no-cache directive */ + ACCEPTRANGES = 0x0010, /* Accept-ranges header was found */ + ADDED_HTML_EXTENSION = 0x0020, /* added ".html" extension due to -E */ }; /* Universal error type -- used almost everywhere.