Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 6380f51

Browse files
fix: add body to ProxyHttpCall return value (#96)
1 parent 0894850 commit 6380f51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

proxytest/root.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ func (r *rootHostEmulator) ProxyHttpCall(upstreamData *byte, upstreamSize int, h
252252
Upstream: upstream,
253253
Headers: headers,
254254
Trailers: trailers,
255+
Body: []byte(body),
255256
})
257+
256258
*calloutIDPtr = calloutID
257259
return types.StatusOK
258260
}

0 commit comments

Comments
 (0)