mirror of
https://github.com/minio/minio.git
synced 2026-11-25 15:22:50 +00:00
Adding more tests
This commit is contained in:
1 parent
72179fbc84
commit
af1ec94925
2 files changed
+159
-7
No files matched your search
@@ -56,9 +56,8 @@ func HttpHandler(storage mstorage.Storage) http.Handler {
|
||||
}
|
||||
|
||||
mux.HandleFunc("/", api.listBucketsHandler).Methods("GET")
|
||||
mux.HandleFunc("/{bucket}", api.listObjectsHandler).Methods("GET")
|
||||
mux.HandleFunc("/{bucket}", api.putBucketHandler).Methods("PUT")
|
||||
mux.HandleFunc("/{bucket}/", api.listObjectsHandler).Methods("GET")
|
||||
mux.HandleFunc("/{bucket}/", api.putBucketHandler).Methods("PUT")
|
||||
mux.HandleFunc("/{bucket}/{object:.*}", api.getObjectHandler).Methods("GET")
|
||||
mux.HandleFunc("/{bucket}/{object:.*}", api.headObjectHandler).Methods("HEAD")
|
||||
mux.HandleFunc("/{bucket}/{object:.*}", api.putObjectHandler).Methods("PUT")
|
||||
|
||||
Reference in new issue
Block a user