http错误一般是什么错误?

陈桂菊 发表于 2015年12月25日 15:16 最后修改于 2016年12月14日 16:04

问题说明:

http错误说明

问题原因:

用户可以看看以下http错误详情

问题回答:

http错误是可以连接到服务器,但服务器无法正确处理该请求的一种错误。引导并告诉浏览者该页是哪里出了问题。

"400","BadRequest","服务器未能识别请求"

"401","Unauthorized","请求的资源要求身份验证"

"402","PaymentRequired","保留 PaymentRequired 以供将来使用"

"403","Forbidden","服务器拒绝满足请求"

"405","MethodNotAllowed","指示请求的资源上不允许请求方法(POST 或 GET)"

"406","NotAcceptable","客户端已用 Accept 头指示将不接受资源的任何可用表示形式"

"407","ProxyAuthenticationRequired","请求的代理要求身份验证"

"408","RequestTimeout","客户端没有在服务器期望请求的时间内发送请求"

"409","Conflict","服务器上的冲突而未能执行请求"

"410","Gone","请求的资源不再可用"

"411","LengthRequired","缺少必需的 Content-length 头"

"412","PreconditionFailed","此请求设置的条件失败,且无法执行此请求"

"413","RequestEntityTooLarge","请求太大,服务器无法处理"

"414","RequestUriTooLong","URI 太长"

"415","UnsupportedMediaType","请求是不支持的类型"

"416","RequestedRangeNotSatisfiable","无法返回从资源请求的数据范围,因为范围的开头在资源的开头之前,或因为范围的结尾在资源的结尾之后"

"417","ExpectationFailed","服务器未能符合 Expect 头中给定的预期值"

"500","InternalServerError","服务器上发生了一般错误"

"501","NotImplemented","服务器不支持请求的函数"

"502","BadGateway","中间代理服务器从另一代理或原始服务器接收到错误响应"

"503","ServiceUnavailable","服务器暂时不可用,通常是由于过多加载或维护"

"504","GatewayTimeout","中间代理服务器在等待来自另一个代理或原始服务器的响应时已超时"


OneAPM的CT技术支持:QQ号,2197915821


回复

您需要登录后才可以回复