def test_https_strips_port(self):
    result = get_host({'wsgi.url_scheme': 'https', 'SERVER_NAME': 'example.com', 'SERVER_PORT': '443'})
    self.assertEquals(result, 'example.com')
def test_https_strips_port(self):
    result = get_host({'wsgi.url_scheme': 'https', 'SERVER_NAME': 'example.com', 'SERVER_PORT': '443'})
    self.assertEquals(result, 'example.com')