Open kklo opened 14 years ago
Although we cannot avoid the bandwidth usage, disallow openning can certainly save some unnecessary memory use. We may need a mime parser, Apache Tika may worth to take a look http://tika.apache.org/0.7/gettingstarted.html
Tried Tika and Mime-Util, the accuracy is quite low. Using a file extension table should be better
Although we cannot avoid the bandwidth usage, disallow openning can certainly save some unnecessary memory use. We may need a mime parser, Apache Tika may worth to take a look http://tika.apache.org/0.7/gettingstarted.html