Browse files

Fixed #2494 -- Django development server no longer does reverse DNS. …

…As a side effect, the server no longer sets the REMOVE_HOST environment variable

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent ae83871 commit 19c48c900572fb18beb928ff9210a00e6dfb62ed @adrianholovaty adrianholovaty committed Aug 7, 2006
Showing with 0 additions and 4 deletions.
  1. +0 −4 django/core/servers/basehttp.py
View
4 django/core/servers/basehttp.py
@@ -547,10 +547,6 @@ def get_environ(self):
env['PATH_INFO'] = urllib.unquote(path)
env['QUERY_STRING'] = query
-
- host = self.address_string()
- if host != self.client_address[0]:
- env['REMOTE_HOST'] = host
env['REMOTE_ADDR'] = self.client_address[0]
if self.headers.typeheader is None:

0 comments on commit 19c48c9

Please sign in to comment.