'Render as a string formatted for HTTP response headers
(detailed \'Set-Cookie: \' style).'

def render_response(self):

    (name, value) = (self.name, self.value)
    renderer = self.attribute_renderers.get('name', None)
    if renderer:
        name = renderer(name)
    renderer = self.attribute_renderers.get('value', None)
    if renderer:
        value = renderer(value)
    return ';    '.join((['{0}={1}'.format(name, value)] + [(key if isinstance(value, bool) else '='.join((key, value))) for (key, value) in self.attributes().items()]))
