mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 23:56:21 +00:00
Update to the newest version of XEP 0363 (HTTP Upload)
Main changes: 1. Attributes instead of tags 2. Read the optional <header> tags and send them in the HTTP PUT header: * Authorization * Cookie * Expires Co-authored-by: Martin Dosch <martin@mdosch.de>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user