Telnet으로 HTTP 요청하기

1 개요[ | ]

telnet으로 HTTP 요청하기
telnet으로 HTTP 호출하기
telnet으로 웹페이지 열기
root@zetawiki:~# telnet google.com 80
Trying 216.58.197.206...
Connected to google.com.
Escape character is '^]'.
GET / HTTP/1.1
Host: google.com
HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Referrer-Policy: no-referrer
Location: http://www.google.co.kr/?gfe_rd=cr&dcr=0&ei=OotGRrTO5XJ0Se0elLBJr
Content-Length: 271
Date: Tue, 21 Nov 2017 02:06:50 GMT

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.co.kr/?gfe_rd=cr&amp;dcr=0&amp;ei=OotGRrTO5XJ0Se0elLBJr">here</A>.
</BODY></HTML>
^]
telnet> quit
Connection closed.
root@zetawiki:~#

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}