Skip to content
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

add upload length to InitiateFileUpload #71

Open
butonic opened this issue Apr 30, 2020 · 1 comment
Open

add upload length to InitiateFileUpload #71

butonic opened this issue Apr 30, 2020 · 1 comment

Comments

@butonic
Copy link
Contributor

butonic commented Apr 30, 2020

allows the server to allocate files or check available quota.
Needed for tus creation extension, which always expects a Upload-Length.

then replace Opaque data in

We should make this optional to allow the clients to initialize an upload using tus and the creation-defer-length extension. Using 0 to indicate creation-defer-length does not work, because you might want to create an empty file.

@PVince81
Copy link

also need the mtime to be able to set initial mtime

maybe allow arbitrary metadata ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants