Done the basics of http server
Added mime type detection Lots still todo, directory index files auto indexing(?)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user