send 100 continue code the way ms seems to want

This commit is contained in:
UbitUmarov
2020-04-16 02:13:03 +01:00
parent 4ab8da01bc
commit e2f84f0c1f
3 changed files with 15 additions and 8 deletions

View File

@@ -402,6 +402,7 @@ namespace OSHttpServer
throw new BadRequestException("Unknown 'Connection' header type.");
break;
/*
case "expect":
if (value.Contains("100-continue"))
{
@@ -409,7 +410,10 @@ namespace OSHttpServer
}
m_headers.Add(name, value);
break;
*/
case "user-agent":
break;
default:
m_headers.Add(name, value);
break;