Use Explciit not var
Some checks failed
Build .NET Project / build (push) Has been cancelled

This commit is contained in:
2026-03-28 15:43:06 -04:00
parent 082a32812a
commit 3fd18091dc

View File

@@ -1537,7 +1537,7 @@ namespace MarketData.Integration
try try
{ {
MDTrace.WriteLine(LogLevel.VERBOSE, $"GetRequestV6[ENTER]{url}"); MDTrace.WriteLine(LogLevel.VERBOSE, $"GetRequestV6[ENTER]{url}");
var handler = new HttpClientHandler() HttpClientHandler handler = new HttpClientHandler()
{ {
AllowAutoRedirect = true, AllowAutoRedirect = true,
AutomaticDecompression = AutomaticDecompression =
@@ -1686,7 +1686,7 @@ namespace MarketData.Integration
{ {
MDTrace.WriteLine(LogLevel.VERBOSE,$"GetRequestSECEDGAR[ENTER]{strRequest}"); MDTrace.WriteLine(LogLevel.VERBOSE,$"GetRequestSECEDGAR[ENTER]{strRequest}");
var handler=new HttpClientHandler() HttpClientHandler handler =new HttpClientHandler()
{ {
AllowAutoRedirect=true, AllowAutoRedirect=true,
AutomaticDecompression=DecompressionMethods.GZip|DecompressionMethods.Deflate|DecompressionMethods.Brotli, AutomaticDecompression=DecompressionMethods.GZip|DecompressionMethods.Deflate|DecompressionMethods.Brotli,