tus-resumable-upload-protocol
tus-resumable-upload-protocol copied to clipboard
Spec for keeping Upload-Expires header current
For massive uploads, we don't want the expiration taking out a file that is being actively uploaded. So instead, add into the spec a way for the Upload-Expires header to be updated with each PATCH request, thus allowing us to prune abandoned uploads faster without causing problems to those still uploading.
I agree with @nigoroll here. This seems like a implementation detail. tusdotnet already supports this by letting the developer specify an AbsoluteExpiration or a SlidingExpiration. Sliding will be updated on each PATCH request and reflected in each HEAD request.