$ telnet example.com 80 GET /index.html HTTP/1.1 Host: example.com then, press enter key twice. You should a response similar to the one below: HTTP/1.0 302 Found Date: Tue, 23 Feb 2021 14:01:28 GMT OpenBSD httpd Connection: close Content-Type: text/html Content-Length: 486 Location: https://example.com/index.html 302 Found

302 Found


OpenBSD httpd
Connection closed by foreign host.