Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotalik committed Mar 26, 2021
1 parent 4480aec commit 687a330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Http/src/Internal/RequestCookieCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ internal static RequestCookieCollection ParseInternal(StringValues values, bool
{
return Empty;
}
var collection = new RequestCookieCollection(new Dictionary<string, string>());
var collection = new RequestCookieCollection(values.Count);
var store = collection.Store!;

if (CookieHeaderValue.TryParseIntoDictionary(values, store, enableCookieNameEncoding))
Expand Down

0 comments on commit 687a330

Please sign in to comment.