Lab 5: HTTP Web Proxy Server.
A small web proxy server which is able to cache web pages.
Conditional Get(If-Modified-Since)
Server response 304

- Error handling - Response "404 Not found" response when the link is not applicable.
- GET - The simple proxy server proxy_server_get.py supports HTTP GET method.
- POST - The simple proxy server proxy_server_post.py supports HTTP POST method.
- cache - Support local cache and send 'If-Modified-Since'.
- Execute python3 .\proxy_server_get.py 127.0.0.1
a. Put http://localhost:8888/www.google.com as url on your browser
b. Put http://localhost:8888/www.posttestserver.com/ as url on your browser - Execute python3 .\proxy_server_post.py 127.0.0.1
a. Put http://localhost:8888/ptsv2.com/t/lztm4-1613635628/post as url on your browser
b. Put http://localhost:8888/www.posttestserver.com/ - Caching: A typical proxy server will cache the web pages each time the client makes a particular
request for the first time. The cache file name is made as url of the website, such as 'www.google.com'

