HTTP

David Gourley, Brian Totty

出版时间

2002-10-07

ISBN

9781565925090

评分

★★★★★
书籍介绍
Product Description Web technology has become the foundation for all sorts of critical networked applications and far-reaching methods of data exchange, and beneath it all is a fundamental protocol: HyperText Transfer Protocol, or HTTP. HTTP: The Definitive Guide documents everything that technical people need for using HTTP efficiently-including the "black arts" and "tricks of the trade"-and does so in a clear and readable manner. Written by experts with years of practical and teaching experience, this book is the definitive technical bible on HTTP and related core web technologies because it clearly explains the "why" as well as the "how". A reader can understand how web applications work, how the core Internet protocols and architectural building blocks interact, and how to correctly implement Internet clients and servers. It's an essential toolkit that no technically-inclined member of the Internet community should be without.
AI导读
核心看点
  • HTTP协议权威指南,详解请求响应机制
  • 深入剖析URL、状态码及报文结构原理
  • 涵盖缓存、代理、安全等Web核心架构
适合谁读
  • Web前端与后端开发人员必读经典
  • 希望深入理解网络协议底层原理者
  • 从事系统运维及网络架构设计人员
读前提醒
  • 出版较早,部分技术细节可能已更新
  • 建议重点阅读前两章,后几章按需查阅
  • 结合RFC文档阅读效果更佳,勿死记
读者共识
  • 内容全面权威,对得起指南之名
  • 讲解清晰易懂,一图胜千言
  • 虽显陈旧但基础稳固,常读常新

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "实际上,浏览器使用并行连接,将并行连接数限制为较小的的值(通常是4个)。"
  • "持久连接、并行连接配合使用可能是最高效的方式。有很多的Web应用程序都会打开少量并行连接,其中的每个都是持久连接。"
  • "HTTP 使用术语流入(inbound)和流出(outbound)来描述事务处理(transaction)的方向"
  • "所有报文都会向下游(downstream)流动(参见图 3-2)。所有报文的发送者都在接收者的上游(upstream)"
  • "报文三个部分组成:对报文进行描述的起始行(start line)、包含属性的首部(header)块,以及可选的、包含数据的主体(body)部分。"
  • "HTTP 报文都可以分为两类:请求报文(request message)和响应报文(response message)"
  • "refresh"
  • "状态码是在响应报文的起始行中返回的。返回数字状态和可读状态。数字码便于程序进行查错处理,原因短语便于理解。 状态码的分类: 100到199之间表示信息提示。200到299之间表示成功。300到399之间表示资源被移走,须重定向。400到499之间表示客户端请求错误。500到599之间表示服务器错误。 部分常见状态码: 200 OK 成功。请求的所有数据都在响应主体中。 401 未授权 需要输入用户名和密码 404 未找到 服务器无法找到所请求URL对应的资源"
作者简介
Brian Totty, Ph.D. was a member of Inktomi Corporation's founding engineering team, and served as Inktomi's Vice President of R&D where he co-developed Inktomi's search engine database, and led the development of Inktomi's web caching and streaming media technologies. Formerly, he was a scientist at Silicon Graphics and at Apple Computer's Advanced Technology Group. Brian Totty has received several awards for research and teaching excellence, and holds a Ph.D. in Computer Science from the University of Illinois, Urbana-Champaign, and a B.S. in Computer Science from M.I.T. David Gourley is the Chief Technology Officer of Endeca, where he leads the research and development of Endeca's knowledge navigation products. Prior to working at Endeca, David designed and developed core components of Inktomi's Internet-scale search database and was a senior developer of Inktomi's web caching products. David earned a B.A.in Computer Science from the University of California at Berkeley.
用户评论
看了chap 1-5和logging. 很好的关于http的入门书, 揭开了许多神秘的面纱(。), 再也不用闭著眼睛瞎用django而不知其所以然了....
内容很全面!
太长了,跳着读了点(你确定是跳着读的?)
又比这本书还强力的书吗?强烈求推荐啊
相对于另一本<web protocols and practice>,这本书更容易理解。
原以为是RFC 搬运工,作者还是加入了很多分析,适合查缺补漏的字典砖头书。
一般般,没啥必要买书,有啥要看的直接搜就好了。对新人来说可能还行可以有个大概概念
三年前买的,读了不到四分之一因为种种原因放弃。如今有了一些工作项目经验,花了不到两个星期读完。非常详细,Web 开发必读。只是有些内容略微过时,比如 Netscape 浏览器调试以及微软的 FrontPage 之类。这本书的内容可以提炼出超多经典面试题目,值得反复读。HTTP/1.1
实用的HTTP协议书
手册类型的书,细节太多太复杂,需要的时候再翻
收藏