[MOD] One-way Matrix->XMPP comms.

This is not sanitised. I need to make an XML writer.
This commit is contained in:
LDA 2024-06-17 18:26:37 +02:00
commit bdb4fd2f68
17 changed files with 421 additions and 61 deletions

View file

@ -6,8 +6,6 @@ RouteHead(RouteRoot, arr, argp)
{
ParseeHttpArg *args = argp;
ASPing(args->data->config);
HttpResponseHeader(args->ctx, "Content-Type", "text/html");
HttpSendHeaders(args->ctx);
StreamPrintf(args->stream, "<html lang=\"en\">");
@ -30,5 +28,6 @@ RouteHead(RouteRoot, arr, argp)
StreamPrintf(args->stream, " </p>");
StreamPrintf(args->stream, " </body>");
StreamPrintf(args->stream, "</html>");
return NULL;
}