Navigation Menu

Skip to content

Commit

Permalink
Fixed #2494 -- Django development server no longer does reverse DNS. …
Browse files Browse the repository at this point in the history
…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
adrianholovaty committed Aug 7, 2006
1 parent ae83871 commit 19c48c9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions django/core/servers/basehttp.py
Expand Up @@ -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:
Expand Down

0 comments on commit 19c48c9

Please sign in to comment.