tus-resumable-upload-protocol icon indicating copy to clipboard operation
tus-resumable-upload-protocol copied to clipboard

Spec for keeping Upload-Expires header current

Open KieranP opened this issue 8 years ago • 1 comments

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.

KieranP avatar Nov 22 '16 21:11 KieranP

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.

smatsson avatar Sep 08 '20 07:09 smatsson