human
Here's a good function header given the following:
I wrote the below code

    @decorator
    def wrap(f, self, request, *args, **kwargs):
        m = Mimer(request)
        realmimes = set()
        rewrite = {'json': 'application/json', 'yaml': 'application/x-yaml', 'xml': 'text/xml', 'pickle': 'application/python-pickle'}
        for (idx, mime) in enumerate(mimes):
            realmimes.add(rewrite.get(mime, mime))
        if (not (m.content_type() in realmimes)):
            return rc.BAD_REQUEST
        return f(self, request, *args, **kwargs)
    return wrap

What's a good function header?
assistant
#Here's a good function header.

def require_mime(*mimes):