mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -547,10 +547,6 @@ class WSGIRequestHandler(BaseHTTPRequestHandler): | ||||
|  | ||||
|         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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user