You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a remote resource is deferred and the server reports the "Upload-Defer-Length: 1" header,
tus-js-client is not able to upload against the resource without options.uploadLengthDeferred.
The protocol does not enfoce this. Upload-Length can be sent with the very next PATCH request.
Acconut
changed the title
Upload against a deffered resource does not work without options.uploadLengthDeferred
Upload against a deferred resource does not work without options.uploadLengthDeferred
Feb 22, 2020
Thank you for reporting this! I agree with you that this should not happen. Seeing that you already worked on a patch, would you be willing to submit a PR for this?
Describe the bug
If a remote resource is deferred and the server reports the "Upload-Defer-Length: 1" header,
tus-js-client is not able to upload against the resource without options.uploadLengthDeferred.
The protocol does not enfoce this. Upload-Length can be sent with the very next PATCH request.
To Reproduce
Create a deferred resource.
Try to upload against the resource without options.uploadLengthDeferred
Error: "tus: invalid or missing length value"
Expected behavior
It should be possible to upload against the deferred resource without options.uploadLengthDeferred
Setup details
The text was updated successfully, but these errors were encountered: