|
@ -1,8 +1,11 @@ |
|
|
package s3api |
|
|
package s3api |
|
|
|
|
|
|
|
|
import "net/http" |
|
|
|
|
|
|
|
|
import ( |
|
|
|
|
|
"github.com/chrislusf/seaweedfs/weed/s3api/s3err" |
|
|
|
|
|
"net/http" |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
func (s3a *S3ApiServer) StatusHandler(w http.ResponseWriter, r *http.Request) { |
|
|
func (s3a *S3ApiServer) StatusHandler(w http.ResponseWriter, r *http.Request) { |
|
|
// write out the response code and content type header
|
|
|
// write out the response code and content type header
|
|
|
writeSuccessResponseEmpty(w, r) |
|
|
|
|
|
|
|
|
s3err.WriteResponse(w, r, http.StatusOK, []byte{}, "") |
|
|
} |
|
|
} |