Skip to content

Commit

Permalink
fix empty body problem (cf issue 359 of original repo)
Browse files Browse the repository at this point in the history
  • Loading branch information
brumar authored Nov 5, 2018
1 parent 8b716ca commit 952ebcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/steps/buildProxyReq.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function buildProxyReq(Container) {
return Promise
.all([parseBody, createReqOptions])
.then(function(responseArray) {
Container.proxy.bodyContent = responseArray[0];
Container.proxy.bodyContent = responseArray[0] == true ? responseArray[0] : ""
Container.proxy.reqBuilder = responseArray[1];
debug('proxy request options:', Container.proxy.reqBuilder);
return Container;
Expand Down

0 comments on commit 952ebcf

Please sign in to comment.