Commit e808fc89 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #12720 -- Corrected handling of cookies in the TestClient. Thanks to...

Fixed #12720 -- Corrected handling of cookies in the TestClient. Thanks to James Henstridge for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 33f44736
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ class Client(object):
        using the arguments to the request.
        """
        environ = {
            'HTTP_COOKIE':      self.cookies,
            'HTTP_COOKIE':       self.cookies.output(header='', sep='; '),
            'PATH_INFO':         '/',
            'QUERY_STRING':      '',
            'REMOTE_ADDR':       '127.0.0.1',