Fixed issues with getting input format
Sometime HTTP_CONTENT_TYPE is set instead of CONTENT_TYPE
Die after routing to unsupported media type in router