david-roper / Comp445

Lab assignments of Comp445

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comp445

Lab assignments of Comp445

How to run A1

  1. Navigate to the directory containing httpc.py using the cd command.
  2. Run the script with any commands defined in the assignment

python3 httpc.py [command]

Example:

python httpc.py get 'http://httpbin.org/get?course=networking&assignment=1'

How to run A2

  1. Navigate to the directory containing httpfs.py using the cd command.
  2. Run the following command

python3 httpfs.py --port [port] (Optional) -d [directory ] (Optional) -v (Optional)

  1. Use either curl or httpc.py requests to communicate with server

About

Lab assignments of Comp445


Languages

Language:Python 87.5%Language:Go 12.5%