You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to parste the timestamp and convert it. Aaaaand we should not use the tus metadata to transport the expiry. That is just a hacky workaround, anyway.
The text was updated successfully, but these errors were encountered:
The
pkg/rhttp/datatx/manager/tus/tus.go
setHeaders()
function returns theexpires
metadata as the TusUpload-Expires
header:The storageprovider.go sets
expires
as a unix timestamp inInitiateFileUpload()
:This violates the Tus spec:
Upload-Expires
MUST be RFC 7231 datetime format, see https://tus.io/protocols/resumable-upload#upload-expiresWe need to parste the timestamp and convert it. Aaaaand we should not use the tus metadata to transport the expiry. That is just a hacky workaround, anyway.
The text was updated successfully, but these errors were encountered: