tusd/pkg/handler
Ole-Martin Bratteng 3feef174fd
handler, cli: Add a flag to disable downloads and termination of uploads (#668)
* Add a flag to disable downloads of uploaded files

* Add a flag to disable deletion of uploaded files

* Fix spelling error

* Rename `DisableDelete` to `DisableTermination`

* Also rename CLI flag

* Conditionally build the `Access-Control-Allow-Methods` headers

* Update tests with new order of allowed methods header

* Add test for checking conditional `Access-Control-Allow-Methods` header
2022-03-28 23:43:35 +02:00
..
body_reader.go core: Handle errors from reading request body centrally 2021-04-26 10:08:37 +02:00
composer.go core: Replace old LockerDataStore with new Locker 2019-09-12 12:37:43 +02:00
composer.mgo core: Remove deprecated DataStore option 2019-08-20 16:16:05 +02:00
composer_test.go core: Add back composer_test 2019-08-26 20:41:00 +02:00
concat_test.go core: Pass Upload interfaces to ConcatUploads 2019-09-19 12:14:25 +02:00
config.go handler, cli: Add a flag to disable downloads and termination of uploads (#668) 2022-03-28 23:43:35 +02:00
config_test.go core: Add context to DataStores 2019-09-15 13:43:59 +02:00
cors_test.go handler, cli: Add a flag to disable downloads and termination of uploads (#668) 2022-03-28 23:43:35 +02:00
datastore.go core: Pass Upload interfaces to ConcatUploads 2019-09-19 12:14:25 +02:00
doc.go core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00
get_test.go core: Allow numbers in mime types 2019-10-07 11:28:13 +02:00
handler.go handler, cli: Add a flag to disable downloads and termination of uploads (#668) 2022-03-28 23:43:35 +02:00
handler_mock_test.go core: Pass Upload interfaces to ConcatUploads 2019-09-19 12:14:25 +02:00
head_test.go core: Allow non-tus HEAD requests, Add Length to HEAD responses 2021-10-18 00:29:13 +02:00
log.go core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00
metrics.go core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00
options_test.go core: Refactor DataStore 2019-08-25 22:10:55 +02:00
patch_test.go core: Fix wrong offset in upload progress notifications 2021-10-13 21:08:09 +02:00
post_test.go handler: Use correct separation symbol for parsing Forwarded header (#433) 2020-10-12 12:36:55 +02:00
subtest_test.go WIP on DataStore refactor 2019-08-24 15:14:51 +02:00
terminate_test.go core: Provide HTTP request details to hooks 2019-09-19 11:15:48 +02:00
unrouted_handler.go handler, cli: Add a flag to disable downloads and termination of uploads (#668) 2022-03-28 23:43:35 +02:00
unrouted_handler_test.go Allow empty metadata values 2020-06-20 13:24:07 +02:00
utils_test.go gcsstore: Remove unnecessary typecasts and unused mocks (#313) 2019-10-09 14:44:13 +02:00