Committing updates.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user