about summary refs log tree commit diff stats
path: root/tests/unittests/test_http_download.h
diff options
context:
space:
mode:
authorWilliam Wennerström <william@wstrm.dev>2020-07-05 17:21:20 +0200
committerWilliam Wennerström <william@wstrm.dev>2020-11-16 21:58:09 +0100
commiteebf54c8596abd5c28b405d8860c173207bbec64 (patch)
treebb1abfaad055aadbb0908dff921259a6e5967aa3 /tests/unittests/test_http_download.h
parent9499df65859abd1404d3f9e96b8af859d3315bff (diff)
downloadprofani-tty-eebf54c8596abd5c28b405d8860c173207bbec64.tar.gz
Infer filename from content-disposition or URL
The Content-Disposition inferring is probably a bad idea security wise,
so I am going to remove it.
Diffstat (limited to 'tests/unittests/test_http_download.h')
-rw-r--r--tests/unittests/test_http_download.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/test_http_download.h b/tests/unittests/test_http_download.h
new file mode 100644
index 00000000..c8c333ee
--- /dev/null
+++ b/tests/unittests/test_http_download.h
@@ -0,0 +1,2 @@
+void http_filename_from_url_td(void **state);
+void http_filename_from_header_td(void **state);