Blogger Information
Blog 4
fans 0
comment 0
visits 2147
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
第一节课:浅谈http
嘉成
Original
346 people have browsed it

谈谈对http协议的理解

  • 1:http协议的理解
    http是用于前后端通信的一种常用协议,除此之外还有https协议,由于http协议比较容易被拦截,所以近些年来很多公司也开始使用了https协议,更安全一点,使用了ssl进行隧道加密,http是一种无状态的协议,是不会知道跟谁通话过,所以也会借助与cookie进行保持会话,返回的编码也是约定俗成的,好比200代表请求成功,404代表找不到该资源文件,302资源被重定向,50X代表服务器异常,请求类型也分好多种,还比:GET/POST/PUT/DELETE…

  • 2:请求响应的过程理解
    请求就是客户端会发送一个请求给后端,后端接收到该请求时会进行寻找对应的资源文件进行返回,响应的只能是字符串

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