ProblemContentTypes

The two media types RFC 9457 registers (§6.1): application/problem+json and application/problem+xml.

Media types only. Naming Xml here costs nothing and doesn't pull the XML codec in; that lives in problem-details-xml, registered through problem-details-ktor-xml. This module still has no way to write XML, which is the point of the split.

Properties

Link copied to clipboard

application/problem+json: the canonical serialization (§3).

Link copied to clipboard

application/problem+xml: the equivalent alternative defined in Appendix B.