jasontaylordev / NorthwindTraders

Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
MIT License
5k stars 1.59k forks source link

Suggestion: replace application/problem+json instead of application/json #86

Closed matiasromero closed 5 years ago

matiasromero commented 5 years ago

In exception filter, I think that we should return the "correct" content type for errors:

context.HttpContext.Response.ContentType = "application/problem+json";

Source: https://tools.ietf.org/html/rfc7807

jasontaylordev commented 5 years ago

Added to roadmap.