Merge pull request #44 from nspcc-dev/feature/add-default-filename-header

object: Add default filename user header key for third party apps
This commit is contained in:
Evgeniy Kulikov 2020-02-04 13:48:09 +03:00 committed by GitHub
commit 980d777176
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,11 @@ import (
"github.com/pkg/errors" "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 // ByteSize used to format bytes
type ByteSize uint64 type ByteSize uint64