[Modify] Replace it
This commit is contained in:
parent
7e1294db0a
commit
2ef2c9a95a
@ -816,7 +816,7 @@ namespace WebSocketSharp.Net
|
|||||||
foreach (var elm in contentType.SplitHeaderValue (';')) {
|
foreach (var elm in contentType.SplitHeaderValue (';')) {
|
||||||
var part = elm.Trim ();
|
var part = elm.Trim ();
|
||||||
|
|
||||||
if (part.IndexOf (name, compType) != 0)
|
if (!part.StartsWith (name, compType))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var val = part.GetValue ('=', true);
|
var val = part.GetValue ('=', true);
|
||||||
|
Loading…
Reference in New Issue
Block a user