How to Run:
-
Download all files in repository
-
On Ubuntu, run command: make ./pa2 -port=[PORT NUMBER] mime.types
-
Open another terminal and run command: lynx 'localhost:[PORT NUMBER]/[FILENAME]?len=[FILE LENGTH]&off=[OFFSET LENGTH]'
Server will either send the file or response with proper HTTP code.