summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-23Print some copyright info on server startzachir
2024-03-23Add README.md and LICENSEzachir
zhttpd is (at least for now) licensed under the GPLv2. I may relicense later, we'll see.
2024-03-23Add doc commentszachir
This is to document the functions, constants, and what they do/how they work/how they can fail.
2024-03-23Add better error handling for more status codeszachir
This redoes a lot of the error handling so we can add in more status codes.
2024-03-23Cleanup lineszachir
There were a couple things defined that were never used, this gets rid of them and reorganizes the constants to make things a bit neater.
2024-03-23Use mime as a git submodulezachir
This commit adds the submodule, and changes @include("mime.zig") to refer to the new subdirectory.
2024-03-23Add initial zhttpdzachir
It is functional, however it relies on "mime.zig", which I don't yet know how to link. It also currently only supports error codes 200 and 404. It deserves to be made better, but I'll have to see how to make that happen as I go along.