'Define L{Headers} instances as being equal to each other if they have
the same raw headers.'

def __cmp__(self, other):

    if isinstance(other, Headers):
        return cmp(sorted(self._rawHeaders.items()), sorted(other._rawHeaders.items()))
    return NotImplemented
