This is a Proxy Server for Node.js submitted as the pre-work requirement for CodePath.
Number of hours spent on this : 5 hrs
- [] Required: Requests to port 8000 are echoed back with the same HTTP headers and body - COMPLETED
- [] Required: Requests/reponses are proxied to/from the destination server - COMPLETED
- [] Required: The destination server is configurable via the --host, --port or --url arguments - COMPLETED
- [] Required: The destination server is configurable via the x-destination-url header - COMPLETED
- [] Required: Client requests and respones are printed to stdout - COMPLETED
- [] Required: The --logfile argument outputs all logs to the file specified instead of stdout - DIDN'T WORK
- [] Optional: The --exec argument proxies stdin/stdout to/from the destination program - NOT DONE
- [] Optional: The --loglevel argument sets the logging chattiness - NOT DONE
- [] Optional: Supports HTTPS - NOT DONE
- [] Optional: -h argument prints CLI API - NOT DONE