Commit Graph

18 Commits

Author SHA1 Message Date
Adam Jensen a74c46816d Remove creation-defer-length declaration from tests that don't use it 2018-06-03 16:03:28 -04:00
Adam Jensen c94e0cd0b6 Add creation-defer-length to supported extensions 2018-06-03 12:57:39 -04:00
Marius 7710fd79fb Correct parsing Upload-Concat for final uplaods
Addresses https://github.com/tus/tus-resumable-upload-protocol/issues/123
2017-01-31 16:58:31 +01:00
Marius 0c0bc01432 Add tests for various invalid header values 2016-10-13 19:03:18 +02:00
Marius 24e68df7cd Add test for upload to final upload 2016-10-13 18:42:40 +02:00
Marius 3f0faedfd8 Use mocks generated by gomock for running tests 2016-10-13 11:33:20 +02:00
Marius dc673402d2 Add support for Creation With Upload extension
See tus/tus-resumable-upload-protocol#88 for the current proposal
2016-08-28 22:06:37 +02:00
Marius 6b1e8a8bda Respond with the correct 200 OK code for HEAD requests
Fixes #48
2016-08-28 15:26:12 +02:00
Marius d6bc50ff12 Use 200 OK in responses for preflight requests
Some browsers only accept 200 OK and not 204 No Content as respones codes
for preflight requests.

See tus/tus-js-client#34
2016-05-10 11:58:43 +02:00
Marius bcea96b88e Add test for complete upload notifications using Concatenaiton 2016-03-12 22:52:31 +01:00
Marius 0e750291c9 Use assertions library for tests 2016-01-20 16:40:19 +01:00
Marius b6a28421af Extract concatenation into own interface 2016-01-20 15:33:17 +01:00
Marius cfabbf5ffb Extract tests into tusd_test package 2015-12-25 22:33:27 +01:00
Acconut efe70bb0f3 add test for returning offset after concatenation 2015-03-31 23:51:28 +02:00
Acconut 290fea5dac return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
Acconut 46fabad314 update header names 2015-03-23 18:15:05 +01:00
Acconut 2b66ccfd56 refactor tests using httpTest 2015-02-17 15:44:12 +01:00
Acconut 93eb701e14 add concatenation extension 2015-02-17 14:19:56 +01:00