HTTP协议定义了很多状态码,主要用来表示客户端请求的处理结果。常见的状态代码包括:
复制代码1xx:信息提示
100:Continue
101:Switching Protocols
2xx:成功
200:OK
201:Created
202:Accepted
204:No Content
3xx:重定向
301:Moved Permanently
302:Found
304:Not Modified
307:Temporary Redirect
4xx:客户端错误
400:Bad Request
401:Unauthorized
403:Forbidden
404:Not Found
405:Method Not Allowed
406:Not Acceptable
408:Request Timeout
409:Conflict
410:Gone
413:Payload Too Large
414:URI Too Long
415:Unsupported Media Type
429:Too Many Requests
5xx:服务器错误
500:Internal Server Error
501:Not Implemented
502:Bad Gateway
503:Service Unavailable
504:Gateway Timeout
505:HTTP Version Not Supported
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
HTTP协议中的Keep-Alive有什么问题?如何避免Keep-Alive问题?
标签: HTTP协议, HTTP协议面试题, http状态码
上面是“HTTP协议中的状态码是什么?每个代表什么?”的全面内容,想了解更多关于 前端知识 内容,请继续关注web建站教程。
当前网址:https://m.ipkd.cn/webs_4946.html
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!