Implement GetBucketWebsite

This commit is contained in:
Alex Auvolat
2022-01-06 11:36:17 +01:00
parent f7349f4005
commit 3ea8ca1b9e
2 changed files with 55 additions and 19 deletions
+1
View File
@@ -305,6 +305,7 @@ async fn handler_inner(garage: Arc<Garage>, req: Request<Body>) -> Result<Respon
Endpoint::DeleteObjects { .. } => {
handle_delete_objects(garage, bucket_id, req, content_sha256).await
}
Endpoint::GetBucketWebsite { .. } => handle_get_website(garage, bucket_id).await,
Endpoint::PutBucketWebsite { .. } => {
handle_put_website(garage, bucket_id, req, content_sha256).await
}