Done the basics of http server

Added mime type detection
Lots still todo, directory index files auto indexing(?)
This commit is contained in:
2014-07-29 21:00:19 +01:00
parent 17693097a5
commit 31e1ff4f97
15 changed files with 391 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
GET /testing123 HTTP/1.1
GET /index.html HTTP/1.1
Host: example.com
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36