'Inject the cookies as client headers into the server\'s wsgi
environment.'

def inject_wsgi(self, environ):

    cvals = []
    for cookie in self:
        cvals.append(('%s=%s' % (cookie.name, cookie.value)))
    if cvals:
        environ['HTTP_COOKIE'] = ';    '.join(cvals)
