telnet
$ telnet www.naver.com 80
GET / HTTP/1.1
Host: www.naver.com
HTTP/1.1 302 Moved Temporarily
Server: NWS
Date: Wed, 10 Mar 2021 13:45:50 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Location: <https://www.naver.com/>
Vary: Accept-Encoding,User-Agent
<html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center> NWS </center>
</body>
</html>
nc (netcat)
$ nc www.naver.com 80
GET / HTTP/1.1
Host: www.naver.com
HTTP/1.1 302 Moved Temporarily
Server: NWS
Date: Wed, 10 Mar 2021 13:46:58 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Location: <https://www.naver.com/>
Vary: Accept-Encoding,User-Agent
8a
<html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center> NWS </center>
</body>
</html>
0