def getUrlParts(url=None):
    url = url or cherrypy.url()
    return urllib.parse.urlparse(url)
Calls `urllib.parse.urlparse`_ on a URL.
dataset/ETHPy150Open girder/girder/girder/api/rest.py/getUrlParts