nspcc-dev / send-fs-neo-org

Send.NeoFS is a simple example of integration with NeoFS network via HTTP protocol
http://send.fs.neo.org/
GNU General Public License v3.0
1 stars 1 forks source link

Handle missing objects better on the metadata page #95

Closed mike-petrov closed 1 year ago

mike-petrov commented 1 year ago

closes #94

Signed-off-by: Mikhail Petrov mike@nspcc.ru

mike-petrov commented 1 year ago

Is it a good solution?

image

We can also redirect all missing files to 404 page:

image

As for the status missing and expired, I don't have any sign to understand that. All HEAD requests send a 404 code.

roman-khimov commented 1 year ago

"missing or expired" can just be a text hint for the user (in that send.fs.neo.org works fine, but it's something with the particular object), you really can't detect expiration, that's OK.