History of HTTP

History of HTTP HTTP 响应状态码用来表明特定 HTTP 请求是否成功完成。 响应被归为以下五大类: 信息响应 (100–199) 成功响应 (200–299) 重定向消息 (300–3

DNS Use Both the Protocols TCP and UDP

DNS use both the protocols TCP and UDP UDP packets can’t be greater than 512 bytes. TCP is used for Zone transfer and UDP for name, and queries either regular (primary) or reverse. There should be consistency in DNS Zone database.

History of HTTP

History of HTTP HTTP 0.9 也叫做单行(one-line)协议,基于 TCP 只允许 GET,只会响应 HTML 格式的字符串 HTTP 1.0 增加了请求头,版本号(比如 content-type,就

HTTP Method POST vs GET

HTTP Method POST vs GET 语义角度 GET 通常用于获取资源或者执行无副作用的操作 POST 通常用于提交数据并执行更改服务器状态的操作(服务器需要更多时间来处理 POST 请求) 安全角度 GET 请求