s3api_status_handlers.go 284 B

1234567891011
  1. package s3api
  2. import (
  3. "github.com/seaweedfs/seaweedfs/weed/s3api/s3err"
  4. "net/http"
  5. )
  6. func (s3a *S3ApiServer) StatusHandler(w http.ResponseWriter, r *http.Request) {
  7. // write out the response code and content type header
  8. s3err.WriteResponse(w, r, http.StatusOK, []byte{}, "")
  9. }