Enhanced handling of wildcard request content-type, doesn't set content-type in that scenario and renders preview assuming text/plain