Ticket #12720: django-test-client-cookie-fix.patch

File django-test-client-cookie-fix.patch, 486 bytes (added by James Henstridge, 12 years ago)

django-test-client-cookie-fix.patch

  • django/test/client.py

    === modified file 'django/test/client.py'
     
    187187        using the arguments to the request.
    188188        """
    189189        environ = {
    190             'HTTP_COOKIE':      self.cookies,
     190            'HTTP_COOKIE':      self.cookies.output(header='', sep='; '),
    191191            'PATH_INFO':         '/',
    192192            'QUERY_STRING':      '',
    193193            'REQUEST_METHOD':    'GET',
Back to Top