Recognize HTTP response codes 201 and 202 as success (thanks hemebond)
This commit is contained in:
parent
d57dd2fb3a
commit
aa8fcb0296
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue