From f2d90efc822839adf42d8ccc04d3565f1b205af9 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Wed, 1 Apr 2020 13:17:41 +0200 Subject: [PATCH] Remote Backend: 404 status codes in HTTP is fine These might indicate that the function is not implemented --- modules/remotebackend/httpconnector.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/remotebackend/httpconnector.cc b/modules/remotebackend/httpconnector.cc index 675f1076b1..5aa3d2a69f 100644 --- a/modules/remotebackend/httpconnector.cc +++ b/modules/remotebackend/httpconnector.cc @@ -418,8 +418,9 @@ int HTTPConnector::recv_message(Json& output) { arl.finalize(); - if (resp.status < 200 || resp.status >= 400) { + if ((resp.status < 200 || resp.status >= 400) && resp.status != 404) { // bad. + g_log<