下载后可任意编辑HTTP 协议分析及客户端的实现摘 要:HTTP 协议是一个属于应用层的面对对象的协议,它具有简捷、快速的特点,广泛适用于分布式超媒体信息系统。如今 web 程序的开发技术百家争鸣,例如 ASP.NET、PHP、 JSP、Perl、 AJAX 等等。但是无论 Web 技术在未来如何进展,理解 Web 程序之间通信的基本协议依旧十分重要,因为它可以让我们了解 Web 应用程序的内部工作过程。此外 HTTP 协议还可以使浏览器访问网页时更加高效,并且极大地减少网络传输。本次课题基于对 HTTP 协议的分析,首先对HTTP 协议的基本概念、基本格式、主要内容及特点等做出了详细的说明。然后捕获了客户端与服务器通信时产生的数据包,并详细的分析了 TCP、HTTP 协议的报文格式,此外还对 web 客户端和服务器之间的通信过程做出了深化的分析,明确了交互的内容和方法,最后利用现有的硬件及软件环境完成了一款简单的web 客户端程序,通过本程序可以完成客户端与服务器连接与通信过程,此外本客户端程序还实现了新建页面、刷新页面、前进和后退页面、添加收藏夹和搜索等功能。后期经过我的测试,系统可以正常运行并且各项功能都工作正常。关键词:HTTP 协议 协议分析 web 客户端 HTTP protocol analysis and realization of clientAbstract: Object-oriented HTTP protocol is a part of the application layer protocols, it is simple, fast and suitable for distributed hypermedia information systems. Now web program development technology is hotbed, like ASP.NET, PHP, JSP, Perl, AJAX etc. But no matter how Web technology is development in the future, understanding of basic communication protocols between Web programs remain important, because it allows us to understand the inner workings of Web applications. In addition HTTP protocol allows the browser to work more efficient network transmission reduction. Analysis of this subject based on the HTTP protocol, first on the basic concept of HTTP protocol, basic formatting, major made a detailed description of the content and features. And then capture packets that happen when the clie...