Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit ec53a32

Browse files
committed
header compare fix
1 parent 6672cb6 commit ec53a32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Titanium.Web.Proxy/Http/KnownHeader.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ internal bool Equals(ReadOnlySpan<char> value)
2626
return String.AsSpan().EqualsIgnoreCase(value);
2727
}
2828

29+
internal bool Equals(string value)
30+
{
31+
return String.EqualsIgnoreCase(value);
32+
}
33+
2934
public static implicit operator KnownHeader(string str) => new KnownHeader(str);
3035
}
3136
}

0 commit comments

Comments
 (0)