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/htsalias.c | |
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/htsalias.c')
-rw-r--r-- | src/htsalias.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htsalias.c b/src/htsalias.c index 2066093..8b48413 100644 --- a/src/htsalias.c +++ b/src/htsalias.c @@ -125,6 +125,8 @@ const char *hts_optalias[][4] = { {"list", "-%L", "param1", ""}, {"urllist", "-%S", "param1", ""}, {"language", "-%l", "param1", ""}, {"lang", "-%l", "param1", ""}, + {"accept", "-%a", "param1", ""}, + {"headers", "-%X", "param1", ""}, {"structure", "-N", "param", ""}, {"user-structure", "-N", "param1", ""}, {"long-names", "-L", "param", ""}, {"keep-links", "-K", "param", ""}, |