On Dec 4, 2007 9:15 AM, Benji York <[EMAIL PROTECTED]> wrote: > Also, does case matter here? Perhaps a .lower() should be added as well.
The major/minor type and the parameter names should be treated as case insensitive. There's a content-type parser in zope.publisher.contentype that should handle normalization properly, though something simpler is probably reasonable here if the major/minor type is all that's interesting. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )