Recognize HTTP response codes 201 and 202 as success (thanks hemebond)

This commit is contained in:
Marco Cawthorne 2023-06-24 14:17:15 -07:00
parent d57dd2fb3a
commit aa8fcb0296
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ static qboolean HTTP_DL_Work(struct dl_download *dl)
return true;
}
if (stricmp(buffer, "200"))
if (stricmp(buffer, "200") && stricmp(buffer, "201") && stricmp(buffer, "202"))
{
nl = strchr(msg, '\n');
if (!nl)