UploadLength
UploadLength is a term used in resumable file upload protocols, most prominently in the tus protocol. It denotes the total size, in bytes, of the file to be uploaded. The Upload-Length value is provided by the client during the creation of the upload resource, typically in a header named Upload-Length on the initial request to the upload endpoint.
In a typical tus workflow, the client first creates an upload resource by sending a POST request
There are optional extensions in the protocol. For example, Upload-Metadata can accompany the creation request to
Use of UploadLength enables reliable pause-and-resume uploads, improves error recovery, and helps servers manage resources. It