Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for HTTP Streaming #2140

Open
wants to merge 3 commits into
base: v2
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix linting errors
robertlong committed Dec 4, 2024

Unverified

This user has not yet uploaded their public signing key.
commit e503a77cfb6e36ece8342e02b8bd157693fb2972
2 changes: 1 addition & 1 deletion plugins/http/src/commands.rs
Original file line number Diff line number Diff line change
@@ -401,7 +401,7 @@ pub(crate) async fn fetch_read_body<R: Runtime>(
match chunk {
Ok(bytes) => {
// Skip empty chunks
if bytes.len() > 0 {
if !bytes.is_empty() {
channel.send(&bytes)?;
}
}