Remove unsafe Conent-Disposition inferring

This commit is contained in:
William Wennerström
2020-07-05 18:28:23 +02:00
parent eebf54c859
commit a0cf0844ab
6 changed files with 117 additions and 243 deletions

View File

@@ -48,8 +48,6 @@
typedef struct http_download_t {
char *url;
char *filename;
char *directory;
FILE *filehandle;
curl_off_t bytes_received;
ProfWin *window;
@@ -62,7 +60,6 @@ void* http_file_get(void *userdata);
void http_download_cancel_processes(ProfWin *window);
void http_download_add_download(HTTPDownload *download);
char *http_filename_from_url(const char *url);
char *http_filename_from_header(char *header);
char *http_basename_from_url(const char *url);
#endif