mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-23 10:22:03 +08:00
HTTP/1.1 支持
This commit is contained in:
+1
-4
@@ -273,10 +273,7 @@ namespace System.Application
|
||||
services.TryAddCloudServiceClient<CloudServiceClient>(c =>
|
||||
{
|
||||
#if NETCOREAPP3_0_OR_GREATER
|
||||
c.DefaultRequestVersion = HttpVersion.Version20;
|
||||
#endif
|
||||
#if NET5_0_OR_GREATER
|
||||
c.DefaultVersionPolicy = HttpVersionPolicy.RequestVersionOrHigher;
|
||||
c.DefaultRequestVersion = HttpVersion.Version30;
|
||||
#endif
|
||||
}, configureHandler:
|
||||
#if NETCOREAPP2_1_OR_GREATER
|
||||
|
||||
Reference in New Issue
Block a user