This commit is contained in:
nora 2022-11-04 23:10:39 +01:00
parent 35dc335803
commit e6d79a111b
No known key found for this signature in database
4 changed files with 40 additions and 1 deletions

1
hyper/hyper Submodule

@ -0,0 +1 @@
Subproject commit 75aac9f47fe0246016e6133cd3cfa35b63c8904e

View file

@ -0,0 +1,14 @@
diff --git a/src/headers.rs b/src/headers.rs
index 8407be18..ad29ad28 100644
--- a/src/headers.rs
+++ b/src/headers.rs
@@ -53,7 +53,7 @@ pub(super) fn content_length_parse_all_values(values: ValueIter<'_, HeaderValue>
return None;
}
} else {
- return None
+ return Some(0_0);
}
}
} else {