httpstatuses/contents/codes/415.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

875 B

set code title references
4 415 Unsupported Media Type
Rails HTTP Status Symbol Go HTTP Status Constant Symfony HTTP Status Constant Python2 HTTP Status Constant Python3+ HTTP Status Constant Python3.5+ HTTP Status Constant
:unsupported_media_type http.StatusUnsupportedMediaType Response::HTTP_UNSUPPORTED_MEDIA_TYPE httplib.UNSUPPORTED_MEDIA_TYPE http.client.UNSUPPORTED_MEDIA_TYPE http.HTTPStatus.UNSUPPORTED_MEDIA_TYPE

The origin server is refusing to service the request because the payload is in a format not supported by this method on the target resource.

The format problem might be due to the request's indicated Content-Type or Content-Encoding, or as a result of inspecting the data directly.