-
Notifications
You must be signed in to change notification settings - Fork 0
http status code
2012 edited this page Jul 20, 2020
·
2 revisions
301/302 是 http1.0 定义的,303/307 是 http1.1 定义的,本质上 302 已经被 303/307 取代了,为了向后兼容,故而留着
- 301 永久重定向,浏览器可以缓存新的 url,在之后的请求中,直接请求新的 URL,而且能随意修改 http method
- 302 临时重定向,浏览器不能缓存新的 URL,在之后的请求中,还是请求原始 URL,然后重新发起重定向,也能随意修改 http method
- 303 和 302 类似,但第二次只允许 GET,将其他 method 转换为 GET
- 307 和 302 类型,但第二次不允许改变 http method
- 308 和 301 类似,但第二次不允许改变 http method
JS
CSS
- float
- BFC
- position
- flex
- grid
DOM
- DOM
- how browser works
Node.js
react
- 生命周期
- setState
- hook
git
- git 基础命令
- git rebase 理解
- git bisect
- git commit
- git hook
设计模式
- 策略模式
- ...
TCP/IP 协议
- HTTP/1.x
- HTTP/2
- SSL/TLS
- TCP
- DNS
- HTTP Cache
- CORS
- http status code
linux(shell)知识点