mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Use more robust approach
This commit is contained in:
@@ -547,7 +547,7 @@ namespace ArchiSteamFarm {
|
||||
|
||||
using (HttpRequestMessage request = new HttpRequestMessage(httpMethod, requestUri)) {
|
||||
#if !NETFRAMEWORK
|
||||
request.Version = HttpVersion.Version20;
|
||||
request.Version = HttpClient.DefaultRequestVersion;
|
||||
#endif
|
||||
|
||||
if (data != null) {
|
||||
|
||||
Reference in New Issue
Block a user