def upload_url(self, params):

        if not isinstance(params, types.DictType):
            raise TypeError("'params' argument must be a dict, not %s" % type(params).__name__)

        params = params.copy()

        url = params['protocol'] + u"://" + params['address'] + params['path']
        query = self.query_string(params['query'])
        url = url + '?' + query

        return url
Construct upload URL
dataset/ETHPy150Open rmnl/clack/clack/account_client.py/API.upload_url