def has_header(self, header):
        header = header.lower()
        for key in self.headers.keys():
            if key.lower() == header:
                return True
        return False
Case-insensitive check for a header
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/http/__init__.py/HttpResponse.has_header