diff --git a/docs/en/Domain-Driven-Design-Implementation-Guide.md b/docs/en/Domain-Driven-Design-Implementation-Guide.md index b5f07826f2..9341df703b 100644 --- a/docs/en/Domain-Driven-Design-Implementation-Guide.md +++ b/docs/en/Domain-Driven-Design-Implementation-Guide.md @@ -1971,8 +1971,8 @@ Application Services can directly work with repositories to query, create, updat ## Reference Books -If you are seriously interest in the Domain Driven Design and building large-scale enterprise systems, the following books are recommended as reference books; +If you are more interested in the Domain Driven Design and building large-scale enterprise systems, the following books are recommended as reference books; * "*Domain Driven Design*" by Eric Evans * "*Implementing Domain Driven Design*" by Vaughn Vernon -* "*Clean Architecture*" by Robert C. Martin \ No newline at end of file +* "*Clean Architecture*" by Robert C. Martin diff --git a/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/DynamicHttpProxyInterceptor.cs b/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/DynamicHttpProxyInterceptor.cs index 59bb7d67b6..48ba2f1a4f 100644 --- a/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/DynamicHttpProxyInterceptor.cs +++ b/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/DynamicHttpProxyInterceptor.cs @@ -121,7 +121,12 @@ namespace Volo.Abp.Http.Client.DynamicProxying return (T)(object)stringContent; } - return JsonSerializer.Deserialize(await responseContent.ReadAsStringAsync()); + if (stringContent.IsNullOrWhiteSpace()) + { + return default; + } + + return JsonSerializer.Deserialize(stringContent); } private async Task MakeRequestAsync(IAbpMethodInvocation invocation)