graph TD
http --> http基本知识
http --> get和post
http --> http特性
http --> http与https
http --> http/1.1,http/2,http/3的演变
graph TD
http基本知识 --> http是什么 --> 超文本传输协议--> 图1.1
http基本知识 --> http常见状态码有哪些
http常见状态码有哪些 -->1xx:提示-->2xx:成功:200-->3xx:重定向:300-->4xx:客户端错误:400,404-->5xx:服务器错误:500
http基本知识 --> http常见字段有哪些-->host字段:返回content-length--> connection字段:connection:keep-alive --> content-type字段:content-type:text/html,charset-utf-8-->content-Encoding字段
graph TD
get和post--> get:从服务器获取资源
get和post --> post:向url指定的资源提交数据
http特性-->简单
http特性 --> 灵活和易于扩展
http特性 --> 应用广泛和跨平台
http缺点--> 无状态双刃剑--> 解决方案:cookie
http缺点 --> 明文传输双刃剑
http缺点--> 不安全
不安全--> 长连接
不安全--> 管道网络传输
不安全 --> 队头阻塞
graph TD
http与https有哪些区别--> https更安全
http与https有哪些区别--> http连接更简单
http与https有哪些区别--> http端口号是80,https端口号是443
http与https有哪些区别--> https需要提供数字证书
http风险 --> 窃听风险
http风险 --> 篡改风险
http风险 --> 冒充风险
https的SSL/TLS--> 信息加密-->图2
https的SSL/TLS--> 校验机制-->图2
https的SSL/TLS--> 数字证书-->图2
图1
图2