1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 21:18:13 -05:00

decompress gzipped icons

This commit is contained in:
Kyle Spearrin 2017-10-21 23:04:51 -04:00
parent 184c5f7f96
commit aa07c6fae4

View File

@ -15,7 +15,8 @@ namespace Bit.Icons.Controllers
{
private static readonly HttpClient _httpClient = new HttpClient(new HttpClientHandler
{
AllowAutoRedirect = false
AllowAutoRedirect = false,
AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate
});
private readonly IMemoryCache _memoryCache;
private readonly IDomainMappingService _domainMappingService;