Closed GavinMendelGleason closed 3 years ago
The TUS protocol for expiration (https://tus.io/protocols/resumable-upload.html#expiration) suggests that 410 Gone is used to represent the removal of expired resources when the expiry is still known.
For this reason I've added a patch which makes it possible to use http_status_reply(gone(URL), Headers, Code)
http_status_reply(gone(URL), Headers, Code)
Thanks. I took the liberty to change the title of the reply to "410 Resource Gone". That causes the conflict.
The TUS protocol for expiration (https://tus.io/protocols/resumable-upload.html#expiration) suggests that 410 Gone is used to represent the removal of expired resources when the expiry is still known.
For this reason I've added a patch which makes it possible to use
http_status_reply(gone(URL), Headers, Code)