[Email-SIG] Thoughts on the general API, and the Header API.

Glenn Linderman v+python at g.nevcal.com
Sat Feb 20 04:34:26 CET 2010


On approximately 2/19/2010 6:23 PM, came the following characters from 
the keyboard of Barry Warsaw:
> Is it crackful to think about the policy object also containing a MIME 
> type
> registry for conversion to the specialized object types?
>    

While the MIME type registry (and other registries) were (I think) 
conceptualized as global objects, having them be "just objects" means 
you could have as many as you want, for different purposes, and means 
that you could pass them in to the encoding and decoding methods, and 
might even solve issues with different threads wanting different 
registries concurrently... they could have them.

I like the idea, although clearly it needs to be fleshed out a bit.

-- 
Glenn -- http://nevcal.com/
===========================
A protocol is complete when there is nothing left to remove.
-- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking



More information about the Email-SIG mailing list