[Modify] Add it
This commit is contained in:
parent
8af604b45d
commit
4cd5b328b9
@ -949,6 +949,15 @@ namespace WebSocketSharp.Net
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static string getHeaderName (string key)
|
||||||
|
{
|
||||||
|
HttpHeaderInfo headerInfo;
|
||||||
|
|
||||||
|
return _headers.TryGetValue (key, out headerInfo)
|
||||||
|
? headerInfo.Name
|
||||||
|
: null;
|
||||||
|
}
|
||||||
|
|
||||||
private static bool isRestricted (string name, bool response)
|
private static bool isRestricted (string name, bool response)
|
||||||
{
|
{
|
||||||
var headerInfo = getHeaderInfo (name);
|
var headerInfo = getHeaderInfo (name);
|
||||||
|
Loading…
Reference in New Issue
Block a user