Send this instead:
GET / HTTP/1.1
Host: testingmcafeesites.com
GET /testcat_ac.html HTTP/1.1
Host: testingmcafeesites.com
Note the space removed between /
and testcat_ac.html
. And the extra empty line after the Host
header. An HTTP request is terminated by 2 CRLF line breaks:
GET / HTTP/1.1<CRLF>
Host: testingmcafeesites.com<CRLF>
<CRLF>
GET /testcat_ac.html HTTP/1.1<CRLF>
Host: testingmcafeesites.com<CRLF>
<CRLF>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…