首页 >数据库 >mysql教程 >How to access HTTP server using Telnet

How to access HTTP server using Telnet

WBOY
WBOY原创
2016-06-07 15:50:201090浏览

How to access HTTP server using Telnet 1、Telnet www.baidu.com 80 Type: Ctrl + ] //------------------------------------------------------------------------------- Type: Enter //--------------------------------------------------------------

How to access HTTP server using Telnet

 

1、Telnet www.baidu.com 80

 

Type : Ctrl + ]
//-------------------------------------------------------------------------------

Type : Enter

//-------------------------------------------------------------------------------

Input : GET / HTTP/1.1  
Type : Enter
Input : HOST:     
Type : Enter Enter

//-------------------------------------------------------------------------------
HTTP/1.1 200 OK
Date: Thu, 22 Oct 2009 02:09:34 GMT
Server: BWS/1.0
Content-Length: 3520
Content-Type: text/html;charset=gb2312
Cache-Control: private
Expires: Thu, 22 Oct 2009 02:09:34 GMT
Set-Cookie: BAIDUID=DEE7265CF1D01127B2546D43AE4DB87C:FG=1; expires=Thu, 22-Oct-3
9 02:09:34 GMT; path=/; domain=.baidu.com
P3P: CP=" OTI DSP COR IVA OUR IND COM "

tle>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn