Skip to content

Commit c1e537c

Browse files
committed
feat: added extra body data variant to chunked reader
1 parent fb0e4a6 commit c1e537c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

body-plz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "body-plz"
3-
version = "0.0.3"
3+
version = "0.0.4"
44
authors = ["darkseid", "sytten <[email protected]>"]
55
description = "Body for the ParsePlz ecosystem"
66
repository = "https://github.com/parseplz/primitives"

body-plz/src/body_struct.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ pub enum ChunkedBody {
4242
LastChunk(BytesMut),
4343
Trailers(HeaderMap),
4444
EndCRLF(BytesMut),
45+
Extra(BytesMut),
4546
}
4647

4748
pub fn total_chunk_size(chunks: &[ChunkedBody]) -> usize {

0 commit comments

Comments
 (0)