Skip to content

Commit e1d0cd8

Browse files
brandon-leapyearmonkpow
authored andcommitted
Fix using proxyReqBodyDecorator with parseReqBody=false
1 parent 49d72de commit e1d0cd8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/steps/sendProxyRequest.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ function sendProxyRequest(Container) {
6363
proxyReq.write(body);
6464
}
6565
proxyReq.end();
66+
} else if (bodyContent) {
67+
proxyReq.write(bodyContent);
68+
proxyReq.end();
6669
} else {
6770
// Pipe will call end when it has completely read from the request.
6871

0 commit comments

Comments
 (0)