From ea3347b36d7fdef3bb47fec3809bb4bbcc1ee644 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Sun, 7 Jun 2020 18:09:01 +0300 Subject: [PATCH] Accept HttpContent as data in WebBrowser (#1828) --- ArchiSteamFarm/WebBrowser.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArchiSteamFarm/WebBrowser.cs b/ArchiSteamFarm/WebBrowser.cs index 9602e6359..1df1c0aef 100644 --- a/ArchiSteamFarm/WebBrowser.cs +++ b/ArchiSteamFarm/WebBrowser.cs @@ -607,6 +607,10 @@ namespace ArchiSteamFarm { if (data != null) { switch (data) { + case HttpContent content: + request.Content = content; + + break; case IReadOnlyCollection> dictionary: try { request.Content = new FormUrlEncodedContent(dictionary);