CoAP 响应码详解:常见错误代码及含义
CoAP 协议中的响应码表示服务器对客户端请求的响应结果,常见的响应码包括:
- 2.00 OK:请求成功。
- 4.00 Bad Request:请求格式错误。
- 4.01 Unauthorized:未授权访问资源。
- 4.03 Forbidden:请求被禁止访问资源。
- 4.04 Not Found:请求的资源不存在。
- 5.00 Internal Server Error:服务器内部错误。
- 5.01 Not Implemented:服务器不支持客户端请求的功能。
- 5.02 Bad Gateway:网关错误。
- 5.03 Service Unavailable:服务不可用。
- 5.04 Gateway Timeout:网关超时。
原文地址: https://www.cveoy.top/t/topic/mQXk 著作权归作者所有。请勿转载和采集!