Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only pipe form if the form is present.

  • Loading branch information...
commit ea4199e1496caefa1e3e457809707433dd2a53d5 1 parent 9d21646
@idralyuk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/engine/lib/engine/http/request.js
View
2  modules/engine/lib/engine/http/request.js
@@ -279,7 +279,7 @@ function sendHttpRequest(client, options, args, start, timings, reqStart, key, c
});
});
- if (args.parts) {
+ if (args.parts && form) {
form.pipe(clientRequest);
timings.send = Date.now() - reqStart;
} else if (args.body) {
Please sign in to comment.
Something went wrong with that request. Please try again.