Skip to content

Commit

Permalink
Update src/RequestHeaders.cs _singleValueHeaders comparer
Browse files Browse the repository at this point in the history
Co-authored-by: Eastman <andrueastman@users.noreply.github.com>
  • Loading branch information
edouardpoitras and andrueastman committed Jun 13, 2023
1 parent 41ec893 commit b0428f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RequestHeaders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Kiota.Abstractions;
/// <summary>Represents a collection of request headers.</summary>
public class RequestHeaders : IDictionary<string,IEnumerable<string>> {
private readonly Dictionary<string, HashSet<string>> _headers = new Dictionary<string, HashSet<string>>(StringComparer.OrdinalIgnoreCase);
private readonly HashSet<string> _singleValueHeaders = new HashSet<string> { "Content-Type" };
private readonly HashSet<string> _singleValueHeaders = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { "Content-Type" };
/// <summary>
/// Adds values to the header with the specified name.
/// </summary>
Expand Down

0 comments on commit b0428f9

Please sign in to comment.