forked from TrueCloudLab/frostfs-s3-gw
Replace s3-gate by s3-gw
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
2b967db7c0
commit
a399590204
22 changed files with 33 additions and 33 deletions
|
@ -10,7 +10,7 @@ import (
|
|||
"strconv"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/nspcc-dev/neofs-s3-gate/misc"
|
||||
"github.com/nspcc-dev/neofs-s3-gw/misc"
|
||||
)
|
||||
|
||||
type (
|
||||
|
@ -153,7 +153,7 @@ func errorResponseHandler(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
// Write http common headers.
|
||||
func setCommonHeaders(w http.ResponseWriter) {
|
||||
w.Header().Set(hdrServerInfo, "NeoFS-S3-Gate/"+misc.Version)
|
||||
w.Header().Set(hdrServerInfo, "NeoFS-S3-GW/"+misc.Version)
|
||||
w.Header().Set(hdrAcceptRanges, "bytes")
|
||||
|
||||
// Remove sensitive information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue