-
developed a web server that can-
- handle multiple incoming HTTP GET requests
- end HTTP response message back to the client (with appropriate Content-type)
If we type “localhost:port/path” in the address bar
- If path is a directory, then generate an html page showing the list of all files inside as links
- If path is a text or image file, then show the content of that file in a new html page
- For all other formats enforce downloading the file to the browser
-
Client-Program will connect to the Web-Server
Client can upload files to the server