Try to guess content type from first 1k data.