On 13-12-2011 19:21, Arno Garrels wrote:
We don't want to open and load a text file each
>  time a new type is found.
True, that would be dog-slow.

For the generality of the HTTP server applications, other than the 10 or 15 most common MIME types (that should always be in the list) and the ones that are application specific (application adds these to the list), all the rest are exotic ones, only requested once in a while, if even. Reading these from the registry, of even from an external file, is, IMO, the best way to code it. Even so the new MIME class may have a property to specify if the extended list should be loaded dynamically, or not. This way application developers decide the best method that suits his needs.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to