about summary refs log tree commit diff stats
path: root/src/tools/http_upload.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-03-11 17:35:02 +0100
committerGitHub <noreply@github.com>2021-03-11 17:35:02 +0100
commit7d6f01df86631684fe80a3e73ece699cf061498b (patch)
treee28734730ffce8996bfb6d4be95e7a08790491cc /src/tools/http_upload.h
parent96580f917b5c0a061e7bf41714cf48c8e89cd5f8 (diff)
parente217ed0b798706fd11d19f1ffc0bdbbb95d55f53 (diff)
downloadprofani-tty-7d6f01df86631684fe80a3e73ece699cf061498b.tar.gz
Merge pull request #1500 from mwuttke97/bugfix/1499
Fix HTTP upload
Diffstat (limited to 'src/tools/http_upload.h')
-rw-r--r--src/tools/http_upload.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/http_upload.h b/src/tools/http_upload.h
index 4e95d4d8..06145a43 100644
--- a/src/tools/http_upload.h
+++ b/src/tools/http_upload.h
@@ -59,6 +59,11 @@ typedef struct http_upload_t
     ProfWin* window;
     pthread_t worker;
     int cancel;
+    // Additional headers
+    // (NULL if they shouldn't be send in the PUT)
+    char* authorization;
+    char* cookie;
+    char* expires;
 } HTTPUpload;
 
 void* http_file_put(void* userdata);