seaweedfs/weed/s3api/s3api_status_handlers.go

12 lines
284 B
Go
Raw Normal View History

package s3api
2021-12-13 19:08:19 +08:00
import (
"github.com/seaweedfs/seaweedfs/weed/s3api/s3err"
2021-12-13 19:08:19 +08:00
"net/http"
)
func (s3a *S3ApiServer) StatusHandler(w http.ResponseWriter, r *http.Request) {
// write out the response code and content type header
2021-12-13 19:08:19 +08:00
s3err.WriteResponse(w, r, http.StatusOK, []byte{}, "")
}