diff options
Diffstat (limited to 'src/api/api_server.rs')
-rw-r--r-- | src/api/api_server.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/api_server.rs b/src/api/api_server.rs index 40862eb7..52031ae0 100644 --- a/src/api/api_server.rs +++ b/src/api/api_server.rs @@ -221,6 +221,9 @@ async fn handler_inner(garage: Arc<Garage>, req: Request<Body>) -> Result<Respon if params.contains_key("location") { // GetBucketLocation call Ok(handle_get_bucket_location(garage)?) + } else if params.contains_key("versioning") { + // GetBucketVersioning + Ok(handle_get_bucket_versioning()?) } else { // ListObjects or ListObjectsV2 query let q = parse_list_objects_query(bucket, ¶ms)?; |