'Return a string suitable for HTTP.'

def output(self, attrs=None, header='Set-Cookie:', sep='\r\n'):

    result = []
    items = self.items()
    items.sort()
    for (K, V) in items:
        result.append(V.output(attrs, header))
    return sep.join(result)
