def test_http_nonstandard_port(self):
    result = get_host({'wsgi.url_scheme': 'http', 'SERVER_NAME': 'example.com', 'SERVER_PORT': '81'})
    self.assertEquals(result, 'example.com:81')
def test_http_nonstandard_port(self):
    result = get_host({'wsgi.url_scheme': 'http', 'SERVER_NAME': 'example.com', 'SERVER_PORT': '81'})
    self.assertEquals(result, 'example.com:81')