Ticket #8551: django-remote_addr-test.patch
File django-remote_addr-test.patch, 498 bytes (added by , 16 years ago) |
---|
-
django/test/client.py
188 188 'HTTP_COOKIE': self.cookies, 189 189 'PATH_INFO': '/', 190 190 'QUERY_STRING': '', 191 'REMOTE_ADDR': '127.0.0.1', 191 192 'REQUEST_METHOD': 'GET', 192 193 'SCRIPT_NAME': '', 193 194 'SERVER_NAME': 'testserver',