Added method to determine if content type specified in Accept header is valid.
Added HTTP Status errors configuration.
Check for a valid content type before serializing data.