diff options
Diffstat (limited to 'src/lib/teah_common.h')
| -rw-r--r-- | src/lib/teah_common.h | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/src/lib/teah_common.h b/src/lib/teah_common.h index 66937a26..c7231185 100644 --- a/src/lib/teah_common.h +++ b/src/lib/teah_common.h @@ -30,7 +30,7 @@  /**   * Should we compress PUT/POST bodies with 'deflate' encoding?   */ -#define COMPRESS_BODIES 0 +#define COMPRESS_BODIES 1  /**   * State used for #TEAL_curl_easy_post() and @@ -43,6 +43,10 @@ struct TEAH_PostContext     */    char *json_enc; +  /** +   * Custom headers. +   */ +  struct curl_slist *headers;  }; | 
