From 124666a1426246011f9b8c054ce846e649232134 Mon Sep 17 00:00:00 2001 From: alexvanin Date: Tue, 4 Feb 2020 13:29:31 +0300 Subject: [PATCH] object: Add default filename user header key for third party apps --- object/utils.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/object/utils.go b/object/utils.go index baaed0f..329f287 100644 --- a/object/utils.go +++ b/object/utils.go @@ -8,6 +8,11 @@ import ( "github.com/pkg/errors" ) +// FilenameHeader is a user header key for names of files, stored by third +// party apps. We recommend to use this header to be compatible with neofs +// http gate, neofs minio gate and neofs-dropper application. +const FilenameHeader = "filename" + // ByteSize used to format bytes type ByteSize uint64