Commit Graph

15 Commits

Author SHA1 Message Date
Marius 852b6fa01d core: Allow dots in MIME file types
As reported in https://github.com/tus/tusd/issues/304
2019-09-05 19:45:43 +02:00
Marius 5e22d82ca5 Allow certain file types to be shown inline in browsers 2018-02-28 22:55:14 +01:00
Marius 6230c23566 Force browser to download content
For example, prevent HTML from being rendered
2018-02-19 18:28:42 +01:00
Marius a7e4fcc42e Add test for accessing unimplemented methods 2016-10-13 18:48:46 +02:00
Marius 888049ce50 Add test for attempting empty download 2016-10-13 18:38:43 +02:00
Marius 5ff46eb2d7 Add tests for locking in various situations 2016-10-13 18:33:33 +02:00
Marius c2bb17b947 Refactor remaining tests to subtest style 2016-10-13 18:08:34 +02:00
Marius 6a3b51f491 Unify naming of subtests 2016-10-13 16:45:40 +02:00
Marius 3f0faedfd8 Use mocks generated by gomock for running tests 2016-10-13 11:33:20 +02:00
Marius 3e6ea68d07 Suggest original filename when downloading 2016-04-19 11:22:32 +02:00
Marius cfabbf5ffb Extract tests into tusd_test package 2015-12-25 22:33:27 +01:00
Acconut 2c78d31c27 Close io.Reader if possible 2015-07-28 14:58:52 +02:00
Acconut 2b66ccfd56 refactor tests using httpTest 2015-02-17 15:44:12 +01:00
Acconut 23513879c9 rename test for getting file 2015-02-12 16:05:54 +01:00
Acconut 38794a4cf9 split handler test into multiple files 2015-02-09 19:37:06 +01:00