diff --git a/src/http.rs b/src/http.rs index 2995a3b..b1fc617 100644 --- a/src/http.rs +++ b/src/http.rs @@ -213,7 +213,8 @@ impl Client { response.results ); } - if response.results.len() > 1 { + if response.results.len() > 2 { + // One with actual results, one closing the stream anyhow::bail!( "Unexpected multiple responses from server: {:?}", response.results