Blogger Information
Blog 94
fans 0
comment 0
visits 92410
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
【HTTP】协议 及 URL 学习笔记
可乐随笔
Original
451 people have browsed it

HTTP

  1. 客户端(浏览器) <==> 服务器(WEB服务器:Apache/Nginx)
  2. 请求(Request) <==> 响应(Response)
    HTTP请求三次握手示意图

  3. 连接:三次握手,目地:确认客户端和服务器收发是否正常。

  4. 断开:四次挥手,确保双方完成断开。
    四次挥手示意图

URL

  1. 静态: .html结尾(不考虑伪静态情况)。
    Apache/Nginx都是静态服务器。
    静态URL请求过程

  2. 动态:

    .php由服务器路由到一个API函数去处理。
    动态URL请求过程

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!