Web Server
Web Server
Group memeber
1 - Myhammad Aamir Irshad
2 - Aurangzaib
3 - Ghulam Shabbir
4 - Saqib
5 - Zahid Satar
6 - Mehrban
2686
2628
2648
2654
2672
2682
2686
Exemple of request
GET /index.html HTTP/1.1
Host: www.nd.edu/~mkimmet
Date: 09 Mar 2002 10:22:09 GMT
User-Agent: Mozilla/4.0
Accept: text/html, image/jpeg
/*blank line*/
Developing a Response
After it has this information parsed, it uses it
to create a response header. First it will
verify that the file exists and the user has
permissions to view it. Next it will build the
response header, and then send the header
and the file (if applicable) to the client IP. A
example header looks like this:
Exemple of Responce
HTTP/1.1 200 OK
Server: NCSA/2
Location:
http://www.nd.edu/~mkimmet/index.html
Content-type: text/html
Content-length: 67
/* blank line */