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

Fixed #8636: Corrected the test client to use the string '80' in the request...

Fixed #8636: Corrected the test client to use the string '80' in the request META, rather than the integer 80. Thanks to Adam Lofts for the report and fix.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 369b4270
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ class Client:
            'REQUEST_METHOD':    'GET',
            'SCRIPT_NAME':       '',
            'SERVER_NAME':       'testserver',
            'SERVER_PORT':       80,
            'SERVER_PORT':       '80',
            'SERVER_PROTOCOL':   'HTTP/1.1',
        }
        environ.update(self.defaults)