diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-01-28 00:36:27 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-01-28 00:36:27 +0200 |
commit | 9ac597d24336586421d994a8b1201aa3f0127827 (patch) | |
tree | c228f5902ba1c8d8a67b4ee7027806b4a8e2974e /README.md | |
parent | e0a039ad08fc16773cee43e68f92b632a4540bce (diff) |
now using libmagic and its optional
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..b2438cc --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +### Web Server + +This is a simple http web server written in C with minimal dependencies. +It uses the unix socket api and optionally libmagic for file information. + +### Build + +I don't like Makefile, so I wrote a shell script that compiles the program. +Use `./build.sh help` to learn more about the build options and `./build.sh run` just to run the program + +### Limitation + +I have implemented only the GET request method, which just send the requested +file from the `files` directory. There also isn't a hash table for the headers +because I am lazy and it will make the project more unnessairly complex. |