I also think that we should remove that restriction, all contents should be retrievable through that endpoint.
Based on a discussion with @ardumont, this restriction was implemented before the requests rate limiting to the API.
Now that this rate limit is in place, I do not see why we should continue to have this restriction.
Moreover, it exists cases where the file command we are using to detect the mime type returns invalid results
(textual content detected as binary for instance).
Antoine Lambertchanged title from Web API: lift the restriction that /raw only allows to download text-ish contents (?) to Web API: lift the restriction that /raw only allows to download text-ish contents
changed title from Web API: lift the restriction that /raw only allows to download text-ish contents (?) to Web API: lift the restriction that /raw only allows to download text-ish contents