Files
khttp/testreq.txt
Sam Stevens 31e1ff4f97 Done the basics of http server
Added mime type detection
Lots still todo, directory index files auto indexing(?)
2014-07-29 21:00:19 +01:00

8 lines
312 B
Plaintext

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
Referer: https://www.google.co.uk/
Accept-Language: en-US,en;q=0.8