From ffefedefa9543f9bbdbf7d93a8a66fe4a6b96a2f Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Thu, 15 Aug 2013 12:40:06 +0000 Subject: 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). --- src/htsalias.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/htsalias.c') 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", ""}, -- cgit v1.2.3