http学习记录

《http学习记录》

《http学习记录》
tcp:可靠的协议

udp:只管发,不管收没收到
《http学习记录》
https加密协议为TLS、SSL
《http学习记录》

http请求头

Accept:客户端接受哪些信息的数据,浏览器可以处理什么类型的数据

Accept-Encoding:告诉服务器,可以对数据进行压缩

Cache-Control:缓存相关的

Connection:保持tcp连接的活跃,keep-alive

Host:主机名

Pragma:缓存相关

Upgrade-insecure-Requests:缓存相关

User-Agent:客户端相关的信息

referer:请求资源是从哪里来的(如果不带,爬虫可能爬不了)

《http学习记录》

response Headers

《http学习记录》
《http学习记录》
get post本质区别

在Request-URI所标识的资源后附加新的数据

《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
《http学习记录》
nginx配置反向代理

/usr/local/etc/nginx

    原文作者:HTTP
    原文地址: https://segmentfault.com/a/1190000017312403
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞