Arc Forumnew | comments | leaders | submitlogin
3 points by pg 5948 days ago | link | parent

That should work for text/html files.


2 points by bogomipz 5947 days ago | link

By throwing in a hash table which maps from file name extensions to MIME types, it could work for other files as well.

A byte array data type for buffering would do good for performance.

-----