http状态码对应的含义
http status code
常见的一些状态码:
200 301 302 304 401 403 404 405 500 502 503 504
408 413 499
1xx
2xx 成功
200 ok
204 no context
201 created
3xx 重定向,转址
4xx 客户端错误
404 找不到 NotFound
401 Unauthoried 验证没过 authentication
403 Forbidden 没有授权,验证通过但是等级不够 authorization
5xx 服务器端错误
500 服务错误
504 timeout 服务超时
502 bad gateway 后端服务跟httpserver 出了问题