I’m doing Python class and run into issue in Chapter 12. When doing the socket1 exercise I supposed to connect to data.pr4e.org using telnet. I can connect to telnet, I paste GET http://data.pr4e.org/romeo.txt HTTP/1.0 and get this response. I spent 2 days looking online what am I doing wrong but could not find anything other then turn off firewall. Tried to do on my other comp that doesn’t have any antivirus but get the same response. I will really appreciate any help. Thank you.
HTTP/1.1 400 Bad Request Date: Thu, 16 Jul 2020 23:19:10 GMT Server: Apache/2.4.18 (Ubuntu) Content-Length: 308 Connection: close Content-Type: text/html; charset=iso-8859-1 400 Bad Request
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.4.18 (Ubuntu) Server at do1.dr-chuck Port 80
Connection to host lost.