calcurse-caldav: Support custom HTTP headers

Add support for specifying additional HTTP headers, such as the
User-Agent, in the configuration file.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lukas Fleischer
2016-01-25 19:36:27 +01:00
parent 475c341686
commit 849459c63f
2 changed files with 11 additions and 1 deletions

View File

@@ -29,3 +29,7 @@ Verbose = Yes
#[Auth]
#Username = user
#Password = pass
# Optionally specify additional HTTP headers here.
#[CustomHeaders]
#User-Agent = Mac_OS_X/10.9.2 (13C64) CalendarAgent/176