diff --git a/rust-runtime/smithy-http/src/body.rs b/rust-runtime/smithy-http/src/body.rs index da6690e065bc0a623c7fdca9ce69efb0f4dc3ca4..78dcac5d422d0b70c9395b933995336a9fd33c3a 100644 --- a/rust-runtime/smithy-http/src/body.rs +++ b/rust-runtime/smithy-http/src/body.rs @@ -32,6 +32,7 @@ impl SdkBody { SdkBody::Once(ref mut opt) => { let data = opt.take(); match data { + Some(bytes) if bytes.is_empty() => Poll::Ready(None), Some(bytes) => Poll::Ready(Some(Ok(bytes))), None => Poll::Ready(None), }