From d4db4da1f7fa27f87f01c07a66e8dcaa7a183b0f Mon Sep 17 00:00:00 2001 From: Andreas Weber Date: Sun, 19 Feb 2023 11:19:29 +0100 Subject: [PATCH] feat allow sending body in GET Request (AnWeber/vscode-httpyac#179) --- CHANGELOG.md | 6 ++++++ src/plugins/http/gotUtils.ts | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4834d1f..6a1b53bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## (unreleased) + +### Features + +- allow sending body in GET Request (AnWeber/vscode-httpyac#179) + ## 6.1.0 (2023-02-13) #### Features diff --git a/src/plugins/http/gotUtils.ts b/src/plugins/http/gotUtils.ts index 80658f83..6b7e4594 100644 --- a/src/plugins/http/gotUtils.ts +++ b/src/plugins/http/gotUtils.ts @@ -37,6 +37,7 @@ export function getClientOptions( decompress: true, retry: 0, throwHttpErrors: false, + allowGetBody: true, headers: { accept: '*/*', 'user-agent': 'httpyac',