aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index 3ea9513..ee68327 100644
--- a/html.c
+++ b/html.c
@@ -5328,6 +5328,9 @@ int html_get_handler(const xs_dict *req, const char *q_path,
}
}
}
+ else
+ if (status >= 400 && status <= 499)
+ status = HTTP_STATUS_NOT_FOUND;
snac_debug(&snac, 1, xs_fmt("Proxy for %s %d", url, status));
}