Test Project Created

+ Implemented Request Processing (Cache => Regex Events => Razor Pages => Static Content)
 + Rendering based on domain works
 - Areas are not implemented
 + Content Type Map now defines `.cshtml` files and default mime type was changed to "text/plain"
 + GetStaticFile no longer returns private templates/layouts (used to be able to view those in plain text by requesting with a fully qualified path)
I will make more concise tests in a bit (I was not pushing to git properly, so have to make big commits for the time being)
This commit is contained in:
Kaveman
2024-08-15 01:10:06 -07:00
parent 2640a002be
commit b21a1caabc
17 changed files with 516 additions and 24 deletions

View File

@@ -14,6 +14,7 @@ namespace WebServer {
get => Encoding.UTF8.GetString(Content);
set => Content = Encoding.UTF8.GetBytes(value);
}
public Dictionary<string, string?> Headers = new Dictionary<string, string?>();
public HttpResponse() { }