fix streaming body from wrongly returning 'closed connection' error

This commit is contained in:
Sean McArthur
2018-09-19 16:38:33 -07:00
parent 1a513efe39
commit 15857a11a4
4 changed files with 33 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ extern crate reqwest;
mod support;
#[test]
fn test_multipart() {
fn text_part() {
let _ = env_logger::try_init();
let form = reqwest::multipart::Form::new()