@property
    def netloc(self):
        if self.port:
            return '%s:%d' % (self.host, self.port)
        return self.host
Network location including host and port
dataset/ETHPy150Open BergWerkGIS/QGIS-CKAN-Browser/CKAN-Browser/request/packages/urllib3/util/url.py/Url.netloc