fix http version

This commit is contained in:
UbitUmarov
2020-04-22 00:00:24 +01:00
parent 6b6baa9e51
commit 212c25f906
3 changed files with 3 additions and 5 deletions

View File

@@ -396,7 +396,7 @@ namespace OSHttpServer
LogWriter.Write(this, LogPrio.Warning, "Bad request, responding with it. Error: " + err);
try
{
Respond("HTTP/1.0", HttpStatusCode.BadRequest, err.Message);
Respond("HTTP/1.1", HttpStatusCode.BadRequest, err.Message);
}
catch (Exception err2)
{