'Content-Length in the response to a HEAD request is an entity header,
not a connection control header.'

def isConnectionControlHeader(self, name):

    if ((self.request.method == 'HEAD') and (name == 'content-length')):
        return False
    return HTTPParser.isConnectionControlHeader(self, name)
