Skip to content
Documentation

IUnacceptableHandler Interface

Handler for requests that are not acceptable based on the given “Accept”-header.

public interface IUnacceptableHandler

IUnacceptableHandler.DefaultMediaTypeToUse Property

Section titled “IUnacceptableHandler.DefaultMediaTypeToUse Property”

The default media type that should be used to serialize the response of the Endpoint if those present in the “Accept”-header cannot be used.

System.Net.Http.Headers.MediaTypeHeaderValue DefaultMediaTypeToUse { get; }

System.Net.Http.Headers.MediaTypeHeaderValue

The Microsoft.AspNetCore.Http.Endpoint that handles requests that cannot be accepted.

Microsoft.AspNetCore.Http.Endpoint Endpoint { get; }

Microsoft.AspNetCore.Http.Endpoint

© 2026 Volue.Version v0.6.38017 November 2026