[ADD/WIP] Start making a simple SAX parser, ASwerk

This commit is contained in:
LDA 2024-06-15 12:29:34 +02:00
commit 79217d3608
14 changed files with 1066 additions and 26 deletions

View file

@ -1,9 +1,13 @@
#include <Routes.h>
#include <AS.h>
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\">");