Week3Lab2
Our lab 2 is about collaborating with other people by creating pull requests. I choose the project from Sanjida Afrin, because she also using node.js for her project. By reviewing her code, I can also learn from her at the same time.
So in her project, she was using "yargs" for the command options. This is a good tool to simplify the code for the command options. However, this library doesn't suport the command options other than the command options that start with "--" or "-". So I updated it to make it work.
I also add some code to check the HTTP response status for 301, 307 and 308 just in case she may use it in the future. This also help me review the properties of the HTTP header.

Comments
Post a Comment