Django

Code

Changeset 6458

Show
Ignore:
Timestamp:
10/06/07 17:31:31 (1 year ago)
Author:
xian
Message:

removed accidentally check in change

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/newforms-admin/django/http/__init__.py

    r6457 r6458  
    4949        # We try three options, in order of decreasing preference. 
    5050        host = self.META.get('HTTP_X_FORWARDED_HOST', '') 
    51         if host:  
    52             return host 
    5351        if 'HTTP_HOST' in self.META: 
    5452            host = self.META['HTTP_HOST']