diff options
Diffstat (limited to 'src/libstrongswan/fetcher/fetcher.h')
-rw-r--r-- | src/libstrongswan/fetcher/fetcher.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libstrongswan/fetcher/fetcher.h b/src/libstrongswan/fetcher/fetcher.h index 9a7cc315e..70d14bf97 100644 --- a/src/libstrongswan/fetcher/fetcher.h +++ b/src/libstrongswan/fetcher/fetcher.h @@ -46,6 +46,18 @@ enum fetcher_option_t { FETCH_REQUEST_TYPE, /** + * HTTP header to be sent with with the fetch request. + * Additional argument is a char*. + */ + FETCH_REQUEST_HEADER, + + /** + * Use HTTP Version 1.0 instead of 1.1. + * No additional argument is needed. + */ + FETCH_HTTP_VERSION_1_0, + + /** * Timeout to use for fetch, in seconds. * Additional argument is u_int */ |