当前位置:网站首页>网络常用的状态码
网络常用的状态码
2022-07-31 00:00:00 【Miracle_ze】
加粗样式# 常见状态码
200:ok/正常,服务器成功返回网页
301:Moved Permanently 永久重定向(永久性转移)。在请求URL已被移除时使用。响应的Location首部中应该包含 资源现在所处的URL
302:Found 临时重定向(临时性转移)。与301状态码类似,但是客户端应该使用Location首部给出的URL来临时定位资源。将来的请求仍应使用老的URL
304:如果客户端发送了一个带条件的GET 请求且该请求已被允许,而文档的内容(自上次访问以来或者根 据请求的条件)并没有改变,则服务器应当返回这个304状态码
307:Temporary Redirect(临时重定向),响应码307是重定向(3字头)的一个HTTP状态码。与302相似,有一个唯一的区别是不允许进请求方法从POST改为GET。
308:Permanent Redirect。与302相似,有一个唯一的区别是不允许浏览器将原本为POST的请求重定向到GET请求上。
400: Bad Request 错误的请求
401:Unauthorized 未授权,表示发送的请求需要有通过 HTTP 认证的认证信息
403:Forbidden 拒绝或者禁止访问。服务器虽然拒绝或者禁止访问,但是它已经理解了你的请求。
404:Not Found ,指所请求的页面不存在、已被删除或无法访问。
500:Internal Server Error 无法处理请求,服务器遇到错误,无法完成请求。
501:Not Implemented 无法识别请求方法,服务器不具备完成请求的功能。
503:Service Unavailable 服务不可用
边栏推荐
- 【飞控开发基础教程10】疯壳·开源编队无人机-PID 基础原理
- 45. [Application of list linked list]
- .NET 跨平台应用开发动手教程 |用 Uno Platform 构建一个 Kanban-style Todo App
- What are the efficient open source artifacts of VSCode
- background对float的子元素无效
- Summary of the stock problem of state machine dynamic programming
- ABC 261 F - Sorting Color Balls(逆序对)
- 2D Transform Module && Media Queries
- Steven Giesel 最近发布了一个由5部分内容组成的系列,记录了他首次使用 Uno Platform 构建应用程序的经验。
- joiplay模拟器如何导入游戏存档
猜你喜欢
随机推荐
jira是什么
Learn Scope from a Compilation Perspective!
How to import game archives in joiplay emulator
The performance management method OKR is used by all companies
web漏洞之需要准备的工作
常用的正则表达式
2D Transform Module && Media Queries
Debezium error series 20: task failed to create new topic. Ensure that the task is authorized to create topics
智能创意中的尺寸拓展模块
"Wei cup" school more than 2022 cattle summer camp 4 L.B lack Hole, computational geometry
Soft Exam Summary
Shell脚本 if语句
实验7(MPLS实验)
How to solve types joiplay simulator does not support this game
How to adjust Chinese in joiplay simulator
Lambda表达式
45.【list链表的应用】
A Brief Talk About MPI
In MySQL, the stored procedure cannot realize the problem of migrating and copying the data in the table
Jetpack Compose学习(8)——State及remeber









