mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
webdav: HTTP 405 is an acceptable error (#15583)
This commit is contained in:
parent
7198f10875
commit
6dee7225f3
@ -601,7 +601,8 @@ static void webdav_mkdir_cb(retro_task_t *task, void *task_data, void *user_data
|
||||
return;
|
||||
|
||||
// TODO: it's possible we get a 401 here and need to redo the auth check with this request
|
||||
if (!data || data->status < 200 || data->status >= 400)
|
||||
/* HTTP 405 on MKCOL means it's already there */
|
||||
if (!data || data->status < 200 || (data->status >= 400 && data->status != 405))
|
||||
{
|
||||
if (data)
|
||||
webdav_log_http_failure(webdav_mkdir_st->url, data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user