httpstatuses/contents/codes/400.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
716 B
Markdown

---
set: 4
code: 400
title: Bad Request
references:
"Rails HTTP Status Symbol": "bad_request"
"Go HTTP Status Constant": "http.StatusBadRequest"
"Symfony HTTP Status Constant": "Response::HTTP_BAD_REQUEST"
"Python2 HTTP Status Constant": "httplib.BAD_REQUEST"
"Python3+ HTTP Status Constant": "http.client.BAD_REQUEST"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.BAD_REQUEST"
---
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
---
* Source: [RFC7231 Section 6.5.1][1]
[1]: <http://tools.ietf.org/html/rfc7231#section-6.5.1>