-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support zero length uploads #57
Comments
Why do you want to set UploadLength to zero without setting IsUploadDeferLength? Can you tell me about it? |
When user uploads a file with zero content, BirdMessenger is unable to process this request and fails. tus server and other libs handle this request correctly - uploading an empty file. |
ok, I got it , I will deal with it |
[tus-resumable-upload-protocol](https://github.com/tus/tus-resumable-upload-protocol](https://github.com/tus/tus-resumable-upload-protocol/issues/196) |
@creadth , Upgrading BirdMessenger to 3.1.3 , Your problem will be resolved |
Currently if UploadLength is set to zero without setting IsUploadDeferLength to true, the library will throw an error that "UploadLength should not be less than zero", so it is not possible to upload empty files without adjusting headers with OnPreSendRequestAsync event.
The text was updated successfully, but these errors were encountered: