Antoine Pitrou <[email protected]> added the comment:

> I'd use a more strict rule: it should decode as UTF-8, and should only
> include the standard whitespace control characters.

I think this discussion of heuristics distracts us from the original
(simple) request: that files that don't belong to a recognized file type
get tagged as text/plain rather than application/octet-stream.
This would go a long way towards making day-to-day use of the tracker
more pleasant, and is probably much simpler than deciding on a
content-guessing heuristic.

_______________________________________________________
PSF Meta Tracker <[email protected]>
<http://psf.upfronthosting.co.za/roundup/meta/issue381>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tracker-discuss

Reply via email to