2015-11-06 21:39:33 +01:00
|
|
|
---
|
|
|
|
set: 4
|
|
|
|
code: 415
|
|
|
|
title: Unsupported Media Type
|
2015-11-07 05:34:40 +01:00
|
|
|
references:
|
|
|
|
"Rails HTTP Status Symbol": ":unsupported_media_type"
|
2016-01-27 23:08:33 +01:00
|
|
|
"Go HTTP Status Constant": "http.StatusUnsupportedMediaType"
|
2016-04-19 15:19:17 +02:00
|
|
|
"Symfony HTTP Status Constant": "Response::HTTP_UNSUPPORTED_MEDIA_TYPE"
|
2016-05-22 01:07:17 +02:00
|
|
|
"Python2 HTTP Status Constant": "httplib.UNSUPPORTED_MEDIA_TYPE"
|
|
|
|
"Python3+ HTTP Status Constant": "http.client.UNSUPPORTED_MEDIA_TYPE"
|
|
|
|
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.UNSUPPORTED_MEDIA_TYPE"
|
2015-11-06 21:39:33 +01:00
|
|
|
---
|
|
|
|
|
2016-04-23 02:12:07 +02:00
|
|
|
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.
|
2015-11-07 06:45:46 +01:00
|
|
|
|
2016-04-23 02:12:07 +02:00
|
|
|
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.
|
2015-11-07 05:34:40 +01:00
|
|
|
|
2015-11-09 02:44:05 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
* Source: [RFC7231 Section 6.5.13][1]
|
2015-11-07 05:34:40 +01:00
|
|
|
|
2016-01-27 23:08:33 +01:00
|
|
|
[1]: <http://tools.ietf.org/html/rfc7231#section-6.5.13>
|