当前位置:网站首页>网络常用的状态码
网络常用的状态码
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 服务不可用
边栏推荐
- 45.【list链表的应用】
- flex-direction容器属性
- Installation considerations for pytorch
- 【飞控开发基础教程10】疯壳·开源编队无人机-PID 基础原理
- Android security optimization - APP reinforcement
- xss靶机训练【实现弹窗即成功】
- CPM:A large-scale generative chinese pre-trained lanuage model
- leetcode 406. Queue Reconstruction by Height
- 2022 China Logistics Industry Conference and Entrepreneur Summit Forum will be held in Hangzhou!
- How to ensure the consistency of database and cache data?
猜你喜欢

How to solve types joiplay simulator does not support this game

The difference between ?? and ??= and ?. and || in JS

Shell编程条件语句 test命令 整数值,字符串比较 逻辑测试 文件测试

Android security optimization - APP reinforcement

Learn Scope from a Compilation Perspective!

How to install joiplay emulator rtp

xss靶机训练【实现弹窗即成功】

2022 China Logistics Industry Conference and Entrepreneur Summit Forum will be held in Hangzhou!

测试人面试 常被问到的计算机网络题,高薪回答模板来了

How to solve the error of joiplay simulator
随机推荐
Installation considerations for pytorch
Ukraine's foreign ministry: wu was restored to complete the export of food security
leetcode:127. 单词接龙
Unity 加载读取PPT
2022 China Logistics Industry Conference and Entrepreneur Summit Forum will be held in Hangzhou!
jira是什么
ctfshow 文件包含
Chevrolet Trailblazer, the first choice for safety and warmth for your family travel
joiplay模拟器rtp如何安装
边缘计算与小程序也能结合!智能家居是否能借势上台阶
【LeetCode】55. 跳跃游戏 - Go 语言题解
proemthues 服务发现配置
joiplay模拟器如何调中文
【飞控开发基础教程10】疯壳·开源编队无人机-PID 基础原理
[动态规划] 0-1背包问题和完全背包问题
机器学习1一回归模型(二)
Game mall table establishment
Axure轮播图
一款好用的接口测试工具——Postman
Linux 部署mysql 5.7全程跟踪 完整步骤 django部署