From 6d15158b64719e4d869b447771e088e9ac78c9ff Mon Sep 17 00:00:00 2001 From: "Eduardo' Vela\" Nava (sirdarckcat)" Date: Sat, 9 Jan 2021 13:30:48 +0100 Subject: [PATCH] add missing request body (#186) --- v2/background/src/request.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2/background/src/request.ts b/v2/background/src/request.ts index 5c3db6c..cf83f8a 100644 --- a/v2/background/src/request.ts +++ b/v2/background/src/request.ts @@ -130,7 +130,8 @@ export class FetchIntercepted extends Intercepted { requestId: this.id, method: request.method, url: request.url, - headers: FetchIntercepted.convertHeaders(request.headers) + headers: FetchIntercepted.convertHeaders(request.headers), + postData: request.postData ? btoa(request.postData) : undefined }); }