Closed evocateur closed 12 years ago
Thanks! I really do need to get middleware figured out, don't I.
Yeah, this patch is even easier to envision as middleware than my other ones, except for the question of how to integrate it into the "main" combohandler middleware in a reasonable (lightweight, non-hacky) way...
Writing it as separate middleware did occur to me (extracting the MIME_TYPE config along with it), but for expediency's sake, it's inline.