mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
[mod_http_cache] Generic HTTP API Authorization header support (#1048)
[mod_http_cache] Generic HTTP API Authorization header support
This commit is contained in:
1 parent
bc8e3da74c
commit
f5388e444c
2 files changed
+58
-1
No files matched your search
@@ -45,7 +45,9 @@ struct http_profile {
|
||||
char *region; // AWS region. Used by AWS S3
|
||||
switch_time_t expires; // Expiration time in seconds for URL signature. Default is 604800 seconds. Used by AWS S3
|
||||
switch_size_t bytes_per_block;
|
||||
|
||||
int header_count;
|
||||
char** header_names;
|
||||
char** header_values;
|
||||
// function to be called to add the profile specific headers to the GET/PUT requests
|
||||
switch_curl_slist_t *(*append_headers_ptr)(struct http_profile *profile, switch_curl_slist_t *headers,
|
||||
const char *verb, unsigned int content_length, const char *content_type, const char *url, const unsigned int block_num, char **query_string);
|
||||
|
||||
Reference in new issue
Block a user