4×× 客户端错误

413 Payload Too Large 请求的实体过大

服务器拒绝处理请求,因为请求负载大于服务器愿意或能够处理的.

服务器可以关闭连接以阻止客户端继续请求.

如果条件是临时的,服务器应该生成一个 Retry-After 头域来指示它是临时的,并且在什么时间之后客户端可以重试.


413 代码参考

Rails HTTP Status Symbol :request_entity_too_large

Go HTTP Status Constant http.StatusRequestEntityTooLarge

Symfony HTTP Status Constant Response::HTTP_REQUEST_ENTITY_TOO_LARGE

Python2 HTTP Status Constant httplib.REQUEST_ENTITY_TOO_LARGE

Python3+ HTTP Status Constant http.client.REQUEST_ENTITY_TOO_LARGE

Python3.5+ HTTP Status Constant http.HTTPStatus.REQUEST_ENTITY_TOO_LARGE

← http状态码