mirror of
https://gitea.tendokyu.moe/beerpsi/sinmai-mods.git
synced 2025-02-14 09:42:35 +01:00
17 lines
448 B
C#
17 lines
448 B
C#
|
// ReSharper disable CheckNamespace
|
|||
|
// ReSharper disable InconsistentNaming
|
|||
|
namespace System.Net;
|
|||
|
|
|||
|
public class patch_WebHeaderCollection : WebHeaderCollection
|
|||
|
{
|
|||
|
public extern void orig_Add(string header, string value);
|
|||
|
public new void Add(string header, string value)
|
|||
|
{
|
|||
|
if (header.ToLowerInvariant() == "mai-encoding")
|
|||
|
{
|
|||
|
return;
|
|||
|
}
|
|||
|
|
|||
|
orig_Add(header, value);
|
|||
|
}
|
|||
|
}
|