We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 238497e commit 8724381Copy full SHA for 8724381
src/HttpClientHints.AspNetCore/HttpClientHintsHttpContextExtensions.cs
@@ -1,7 +1,6 @@
1
// Copyright © https://myCSharp.de - all rights reserved
2
3
using Microsoft.AspNetCore.Http;
4
-using Microsoft.Extensions.Primitives;
5
6
namespace MyCSharp.HttpClientHints.AspNetCore;
7
@@ -54,7 +53,7 @@ public static HttpClientHintsView GetClientHintsView(this IHeaderDictionary head
54
53
public static HttpClientHints GetClientHints(this IHeaderDictionary headers)
55
{
56
// Use the non-allocating view to gather values and build a snapshot.
57
- HttpClientHintsView view = new(headers);
58
- return view.BuildSnapshot();
+ HttpClientHintsView view = new(headers);
+ return view.BuildSnapshot();
59
}
60
0 commit comments