Write a Python program which let the user input a website link and a filename. Then the program will send an HTTP reques
Posted: Fri Jul 08, 2022 7:27 am
Write a Python program which let the user input a website linkand a filename.
Then the program will send an HTTP request to the server.
Finally, this program will create a new file according to thefilename and save the response from the server into that file.
Sample input: www.kennesaw.edu response.txt.
The result is the response will be saved into the fileresponse.txt. Note: You may try to finish this assignment based onthe program web client.py in the folder “Web architecture andHTTP”.
Then the program will send an HTTP request to the server.
Finally, this program will create a new file according to thefilename and save the response from the server into that file.
Sample input: www.kennesaw.edu response.txt.
The result is the response will be saved into the fileresponse.txt. Note: You may try to finish this assignment based onthe program web client.py in the folder “Web architecture andHTTP”.