diff --git a/src/api/s3/cors.rs b/src/api/s3/cors.rs index fcfdb934..d746ff8d 100644 --- a/src/api/s3/cors.rs +++ b/src/api/s3/cors.rs @@ -29,7 +29,7 @@ pub async fn handle_get_cors(ctx: ReqCtx) -> Result, Error> { .body(string_body(xml))?) } else { Ok(Response::builder() - .status(StatusCode::NO_CONTENT) + .status(StatusCode::NOT_FOUND) .body(empty_body())?) } }