Fixed recovering of invalid content type "text/"