Django

Code

Changeset 8655

Show
Ignore:
Timestamp:
08/28/08 06:52:50 (3 months ago)
Author:
russellm
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/test/client.py

    r8372 r8655  
    192192            'SCRIPT_NAME':       '', 
    193193            'SERVER_NAME':       'testserver', 
    194             'SERVER_PORT':       80
     194            'SERVER_PORT':       '80'
    195195            'SERVER_PROTOCOL':   'HTTP/1.1', 
    196196        }