handle media type in response
currently, media type is handed down from the accept header, which is not correct if an unsupported header is used in accept
currently, media type is handed down from the accept header, which is not correct if an unsupported header is used in accept