tusd/pkg/handler
Ahmed J 0822c0ac43
handler: Use correct separation symbol for parsing Forwarded header (#433)
* fix forwarded header separator

* added tests

* fix tests

* updated test

* Reuse existing test for Forwarded header

Co-authored-by: Ahmed J <ahjabir@earthlink.iq>
Co-authored-by: Marius <marius@transloadit.com>
2020-10-12 12:36:55 +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 cli: Add pre-finish hook (#382) 2020-05-15 17:27:09 +02:00
config_test.go core: Add context to DataStores 2019-09-15 13:43:59 +02:00
cors_test.go Merge branch 'master' of github.com:tus/tusd 2020-04-06 12:24:05 +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 WIP on DataStore refactor 2019-08-24 15:14:51 +02:00
handler_mock_test.go core: Pass Upload interfaces to ConcatUploads 2019-09-19 12:14:25 +02:00
head_test.go handler: Add tests for empty metadata pairs 2020-07-15 17:30:17 +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: Provide HTTP request details to hooks 2019-09-19 11:15:48 +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: Use correct separation symbol for parsing Forwarded header (#433) 2020-10-12 12:36:55 +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