tus / tus-resumable-upload-protocol

Open Protocol for Resumable File Uploads
https://tus.io
MIT License
1.48k stars 103 forks source link

Creation: Move follow-up logic out of header description. #181

Closed nh2 closed 2 years ago

nh2 commented 2 years ago

I found this to be small improvement to text understandability:


It was slightly confusing that a lot of the logic of how the length eventually becomes known is written under a bullet point of

"The request MUST include one of the following headers"

but other parts related to the same topic, such as creation-defer-length in the server's Tus-Extension header aren't.

With this change, the bullet point (b) is now focused on the header and what it is allowed to contain, and the logic is moved to the prose.

smatsson commented 2 years ago

@Acconut I think this is clearer than before. What do you think?