A very very very simple http server which could be used to dissect how http traffic happens between server and client.
gcc -o http http.c
gcc -o http http.c -lWs2_32
./http 8080 index_.html
#Here 8080 is the port server will listen on
#index.html is the html file you want server to host
http.exe 8080 index.html
Open web browser, type in your ip address with port number you type above.