Question: Fall 2021 CPEG 350 Assignment (This is a group assignment, the same teams as in the term-paper) The Hypertext Transfer Protocol (HTTP) is the foundation

Fall 2021 CPEG 350 Assignment (This is a group assignment, the same teams as in the term-paper) The Hypertext Transfer Protocol (HTTP) is the foundation protocol of the World Wide Web and can be used in any client/server application involving hypertext. HTTP is a protocol for transferring plaintext, hypertext, audio, images, or any Internet-accessible information'. HTTP is an application layer protocol and is typically used between a Web browser and a Web server. A Web server is a machine (or a software) that stores websites' contents. The aim of this assignment is to give students more insights, from a programming perspective, on how the interaction between the Web browser (Chrome, Internet Explorer, Firefox ... etc) and the Web server happens. Use your knowledge in sockets programming to write the following programs: 1. A client program that executes a single HTTP GET to a Web server to retrieve any type of content from any website. 2. A client program to execute a single HTTP GET to a Web server to retrieve a complete file, from any website, and store it locally. Hint: the HTTP response header fields are of variable number and variable length (depending on the URL requested and the Web server reached). NOTE: All of the programs should conditionally compile for Winsock or BSD sockets. You should hand in the following: 1- A report (PDF file) by Thursday January 13, 2022 @ 5:00PM where you should clearly document your code and results (screenshots of the results). 2- The code file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
