28 LOG(VB_HTTP, LOG_INFO, QString(
"Rewriting request to new file '%1'").arg(File));
56 LOG(VB_HTTP, LOG_INFO, QString(
"Rewriting request to web app '%1'").arg(File));
59 ||
Request->m_path ==
"/dashboard/" ||
Request->m_path ==
"/setupwizard/"
60 ||
Request->m_path ==
"/MythFE/"))
static HTTPResponse ProcessFile(const HTTPRequest2 &Request)
static HTTPResponse RewriteFile(const HTTPRequest2 &Request, const QString &File)
A convenience method to seemlessly redirect requests for files to a context specific file.
static HTTPResponse RewriteToSPA(const HTTPRequest2 &Request, const QString &File)
A convenience method to seemlessly redirect requests to a Single Page web app (SPA)
std::shared_ptr< MythHTTPRequest > HTTPRequest2
std::shared_ptr< MythHTTPResponse > HTTPResponse
#define LOG(_MASK_, _LEVEL_, _QSTRING_)