diff --git a/crates/nu-command/src/network/http/client.rs b/crates/nu-command/src/network/http/client.rs index 62dd693627..504cc7b632 100644 --- a/crates/nu-command/src/network/http/client.rs +++ b/crates/nu-command/src/network/http/client.rs @@ -376,7 +376,7 @@ fn send_multipart_request( format!("Content-Length: {}", val.len()), ]; builder - .add(&mut Cursor::new(val), &headers.join("\n")) + .add(&mut Cursor::new(val), &headers.join("\r\n")) .map_err(err)?; } else { let headers = format!(r#"Content-Disposition: form-data; name="{}""#, col);