def _encodeName(self, name):
        if isinstance(name, unicode):
            return name.lower().encode('iso-8859-1')
        return name.lower()
Encode the name of a header (eg 'Content-Type') to a ISO-8859-1 encoded
dataset/ETHPy150Open twisted/twisted/twisted/web/http_headers.py/Headers._encodeName