httpstatuses/contents/codes/500.md
WALL-E 62df9e637c Add Python status constants (#57)
* Add Python status constants

* Add Python 2, Python 3+, Python 3.5+ status constants
2016-05-22 00:07:16 +01:00

21 lines
677 B
Markdown

---
set: 5
code: 500
title: Internal Server Error
references:
"Rails HTTP Status Symbol": ":internal_server_error"
"Go HTTP Status Constant": "http.StatusInternalServerError"
"Symfony HTTP Status Constant": "Response::HTTP_INTERNAL_SERVER_ERROR"
"Python2 HTTP Status Constant": "httplib.INTERNAL_SERVER_ERROR"
"Python3+ HTTP Status Constant": "http.client.INTERNAL_SERVER_ERROR"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.INTERNAL_SERVER_ERROR"
---
The server encountered an unexpected condition that prevented it from fulfilling the request.
---
* Source: [RFC7231 Section 6.6.1][1]
[1]: <http://tools.ietf.org/html/rfc7231#section-6.6.1>