You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of returning a generic Content-Type of application/json, both error response and configuration response should use a custom MIME type, for example text/micropub-error+json and text/micropub-configuration+json.
Clients may validate the returned JSON against a schema when they get a specific content type.
They can also see that the server sends the correct data, and not just some standard error garbage that's not readable by clients expecting a specific data format.