|
@@ -260,7 +260,7 @@ void handleHTTPConnection(TCPConnection connection, HTTPServerContext context)
|
|
logTrace("Done handling connection.");
|
|
logTrace("Done handling connection.");
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
+/+
|
|
/**
|
|
/**
|
|
Provides a HTTP request handler that responds with a static Diet template.
|
|
Provides a HTTP request handler that responds with a static Diet template.
|
|
*/
|
|
*/
|
|
@@ -270,6 +270,7 @@ void handleHTTPConnection(TCPConnection connection, HTTPServerContext context)
|
|
res.render!(template_file, req);
|
|
res.render!(template_file, req);
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|
++/
|
|
|
|
|
|
/**
|
|
/**
|
|
Provides a HTTP request handler that responds with a static redirection to the specified URL.
|
|
Provides a HTTP request handler that responds with a static redirection to the specified URL.
|