protected override void CheckMethod (string method)
{
// whitespaces, non-7bits ascii characters and special characters are not allowed
if (!CheckCharacters (method))
throw new ArgumentException ("method");
switch (method.ToLowerInvariant ()) {
// some verbs are not allowed
case "connect":
case "trace":
case "track":
throw new NotSupportedException ();
default:
break;
}
}