Author: russellm
Date: 2008-08-28 06:52:50 -0500 (Thu, 28 Aug 2008)
New Revision: 8655
Modified:
django/trunk/django/test/client.py
Log:
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.
Modified: django/trunk/django/test/client.py
===================================================================
--- django/trunk/django/test/client.py 2008-08-28 11:46:34 UTC (rev 8654)
+++ django/trunk/django/test/client.py 2008-08-28 11:52:50 UTC (rev 8655)
@@ -191,7 +191,7 @@
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'testserver',
- 'SERVER_PORT': 80,
+ 'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
}
environ.update(self.defaults)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---