From 687a330d7968ed8fb1b4991b1c129d9f1c4cc5dd Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Thu, 25 Mar 2021 18:24:03 -0700 Subject: [PATCH] Nit --- src/Http/Http/src/Internal/RequestCookieCollection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Http/src/Internal/RequestCookieCollection.cs b/src/Http/Http/src/Internal/RequestCookieCollection.cs index ad79cc9941af..7dc266a9a137 100644 --- a/src/Http/Http/src/Internal/RequestCookieCollection.cs +++ b/src/Http/Http/src/Internal/RequestCookieCollection.cs @@ -66,7 +66,7 @@ internal static RequestCookieCollection ParseInternal(StringValues values, bool { return Empty; } - var collection = new RequestCookieCollection(new Dictionary()); + var collection = new RequestCookieCollection(values.Count); var store = collection.Store!; if (CookieHeaderValue.TryParseIntoDictionary(values, store, enableCookieNameEncoding))