code415UnsupportedMediaType constant

HttpStatus const code415UnsupportedMediaType

An alias representing the unsupportedMediaType constant, offering a direct substitute for it.

For consistency and improved readability, it is recommended to directly use unsupportedMediaType where possible.

415 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.

Implementation

static const HttpStatus code415UnsupportedMediaType = unsupportedMediaType;