FYI. Thought this might be of interest to anyone who has code that is trying to work out response content type by guessing mime type.
http://lucumr.pocoo.org/2009/3/1/the-1000-speedup-or-the-stdlib-sucks In short, use: from mimetypes import guess_type and you are potentially really messing with the performance of your code. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
