Prepare for multipart uploads

This commit is contained in:
Alex Auvolat
2020-04-26 18:55:13 +00:00
parent ea7e4748ed
commit 9cb870f950
7 changed files with 61 additions and 33 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ pub async fn handle_head(
.versions()
.iter()
.rev()
.filter(|v| v.is_complete && v.data != ObjectVersionData::DeleteMarker)
.filter(|v| v.is_data())
.next()
{
Some(v) => v,
@@ -76,7 +76,7 @@ pub async fn handle_get(
.versions()
.iter()
.rev()
.filter(|v| v.is_complete)
.filter(|v| v.is_complete())
.next()
{
Some(v) => v,