Comments (2)
Personally I would vote against allow this. I do not really see a use case but it would require more complexity in the client implementations. I like to understand resumable uploads as append-only files. Each transferred chunk simply added to the end of the current upload. With this context, my answers for the other questions would be:
can it skip back to any gap in the bytes?
No.
ie must the offset generated by the server be monotonically increasing?
Yes. This guarantee of monotonically increasing offsets can allow for great reduction of complexity for clients and server compared to when client and server must handle basically arbitrary offsets.
from tus-v2.
I also see no harm in skipping forward.
But once it has done so, can it skip back to any gap in the bytes? ie must the offset generated by the server be monotonically increasing?
I think it is OK to send an offset less that a previous one, so long as #53 requires that any resumed bytes are identical to what was originally sent (or would have been sent).
from tus-v2.
Related Issues (18)
- What is "Upload Creation Procedure"? HOT 2
- Why are there three ways to encode the upload token? HOT 15
- Registration of header fields
- State on which HTTP messages the header field values can appear HOT 1
- IETF Communication HOT 1
- Remove the mention of `file` from procedures
- "resources allocated for" vs "record of"
- Confusing use of Content-Disposition HOT 1
- discussion: Feature Detection / Service Discovery HOT 2
- Existing implementations HOT 2
- Consider renaming the draft to target httpbis
- Update the example implementation HOT 1
- Write on mailing list to showcase and get feedback HOT 1
- Ambiguous paragraph in Upload Transfer Procedure HOT 1
- discussion: Upload-Token cryptographic strength suggestion HOT 1
- Add note about not supporting parallel chunked uploads HOT 1
- How does a client handle backtracking? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tus-v2.