avoid failure if no content-type