A DelegatingHandler to return 415 status code.
Install-Package UnsupportedMediaType -Version 1.0.1
dotnet add package UnsupportedMediaType --version 1.0.1
<PackageReference Include="UnsupportedMediaType" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnsupportedMediaType --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
This package has no dependencies.