diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-15 12:40:06 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-15 12:40:06 +0000 |
commit | ffefedefa9543f9bbdbf7d93a8a66fe4a6b96a2f (patch) | |
tree | bd98d9743a29ee7a70bf9b17981a1e311212d435 /src/htsopt.h | |
parent | 84cdc70b4a00a7a2938ff8f3c782cfd78ab069b8 (diff) |
Added %a option, allowing to define the "Accept:" header line.
Added %X option, to define additional request header lines.
Cleaned up a bit the messy strcat everywhere in the request section (yuk).
Diffstat (limited to 'src/htsopt.h')
-rw-r--r-- | src/htsopt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htsopt.h b/src/htsopt.h index c05156d..7e7615f 100644 --- a/src/htsopt.h +++ b/src/htsopt.h @@ -365,6 +365,8 @@ struct httrackp { lien_url **liens; // liens robots_wizard *robotsptr; // robots ptr String lang_iso; // en, fr .. + String accept; // Accept: + String headers; // Additional headers String mimedefs; // ext1=mimetype1\next2=mimetype2.. String mod_blacklist; // (3.41) int convert_utf8; // filenames UTF-8 conversion (3.46) |