-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix empty file uploads tus-js-client and tusd support uploads of empty files. In these cases, only the initial POST request needs to be performed: tus/tus-js-client#106 This was supported by 0.2.5, but the refactoring inadvertently broke this by skipping by all HTTP requests entirely. * Add tests for empty file uploads * Refactor "empty file" tests It's more reliable and concise to create an uploader from the existing client fixture instead of modifying an existing uploader to resemble what we want.
- Loading branch information
Showing
3 changed files
with
67 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters