Committing updates.

This commit is contained in:
Преподобный Ален
2022-09-23 17:29:02 +03:00
parent 7fd514a961
commit 1ef81e8344
4 changed files with 22 additions and 30 deletions

View File

@@ -93,7 +93,6 @@ namespace Apostol {
const auto &caFormat = pServerRequest->Params["payload"];
if (!caFormat.IsEmpty()) {
if (caFormat == "html") {
pServerReply->ContentType = CHTTPReply::html;
} else if (caFormat == "json") {
@@ -111,11 +110,12 @@ namespace Apostol {
}
pProxyConnection->SendReply(pProxyReply->Status, nullptr, true);
} else {
pServerReply->Content = pProxyReply->Content;
pProxyConnection->SendStockReply(pProxyReply->Status, true);
}
} else {
pServerReply->Content = pProxyReply->Content;
if (pProxyReply->Status == CHTTPReply::ok) {
pServerReply->Content = pProxyReply->Content;
pProxyConnection->SendReply(pProxyReply->Status, nullptr, true);
} else {
pProxyConnection->SendStockReply(pProxyReply->Status, true);
@@ -1103,8 +1103,7 @@ namespace Apostol {
}
if (Context.Status() >= Context::csInitialized) {
CheckProviders(Now, Context);
FetchProviders(Now, Context);
CheckProviders(Context, Now);
}
}