diff options
| author | Christian Metts <xian@mintchaos.com> | 2007-10-06 22:31:31 +0000 |
|---|---|---|
| committer | Christian Metts <xian@mintchaos.com> | 2007-10-06 22:31:31 +0000 |
| commit | 4e3eb6ed5f9b7b74b47b33439dde7995e08d5933 (patch) | |
| tree | c524bd7ec26687b281109cd37c99b2d27d32a030 /django | |
| parent | cc1d4c06c53c703eb77b3a9e9ed2c55ca2017cec (diff) | |
removed accidentally check in change
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
| -rw-r--r-- | django/http/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/http/__init__.py b/django/http/__init__.py index baf9a11955..9a47e70592 100644 --- a/django/http/__init__.py +++ b/django/http/__init__.py @@ -48,8 +48,6 @@ class HttpRequest(object): "Returns the HTTP host using the environment or request headers." # We try three options, in order of decreasing preference. host = self.META.get('HTTP_X_FORWARDED_HOST', '') - if host: - return host if 'HTTP_HOST' in self.META: host = self.META['HTTP_HOST'] else: |
