2020-08-19 11:52:44 +00:00
|
|
|
package handler
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
2021-05-18 11:10:08 +00:00
|
|
|
"github.com/nspcc-dev/neofs-s3-gw/api"
|
2021-08-09 08:53:58 +00:00
|
|
|
"github.com/nspcc-dev/neofs-s3-gw/api/errors"
|
2020-08-19 11:52:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func (h *handler) DeleteBucketPolicyHandler(w http.ResponseWriter, r *http.Request) {
|
2021-08-09 08:53:58 +00:00
|
|
|
h.logAndSendError(w, "not supported", api.GetReqInfo(r.Context()), errors.GetAPIError(errors.ErrNotSupported))
|
2020-08-19 11:52:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (h *handler) DeleteBucketLifecycleHandler(w http.ResponseWriter, r *http.Request) {
|
2021-08-09 08:53:58 +00:00
|
|
|
h.logAndSendError(w, "not supported", api.GetReqInfo(r.Context()), errors.GetAPIError(errors.ErrNotSupported))
|
2020-08-19 11:52:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (h *handler) DeleteBucketEncryptionHandler(w http.ResponseWriter, r *http.Request) {
|
2021-08-09 08:53:58 +00:00
|
|
|
h.logAndSendError(w, "not supported", api.GetReqInfo(r.Context()), errors.GetAPIError(errors.ErrNotSupported))
|
2020-08-19 11:52:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (h *handler) PutBucketTaggingHandler(w http.ResponseWriter, r *http.Request) {
|
2021-08-09 08:53:58 +00:00
|
|
|
h.logAndSendError(w, "not supported", api.GetReqInfo(r.Context()), errors.GetAPIError(errors.ErrNotSupported))
|
2020-08-19 11:52:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (h *handler) PutBucketVersioningHandler(w http.ResponseWriter, r *http.Request) {
|
2021-08-09 08:53:58 +00:00
|
|
|
h.logAndSendError(w, "not supported", api.GetReqInfo(r.Context()), errors.GetAPIError(errors.ErrNotSupported))
|
2020-08-19 11:52:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (h *handler) PutBucketNotificationHandler(w http.ResponseWriter, r *http.Request) {
|
2021-08-09 08:53:58 +00:00
|
|
|
h.logAndSendError(w, "not supported", api.GetReqInfo(r.Context()), errors.GetAPIError(errors.ErrNotSupported))
|
2020-08-19 11:52:44 +00:00
|
|
|
}
|