docs: def get_url(self, secure=False, longurl=False):
          """
          Return the url 
          :param secure: bool - To use https
          :param longurl: bool - On local, reference the local path with the domain
                          ie: http://site.com/files/object.png otherwise /files/object.png
          :return: str
          """
          driver_name = self.driver.name.lower()
          try:
              # Currently only Cloudfiles and Local supports it
              url = self._obj.get_cdn_url()
              if "local" in driver_name:
                  url = url_for(SERVER_ENDPOINT,
                                object_name=self.name,
                                _external=longurl)
          except NotImplementedError as e:
              object_path = '%s/%s' % (self.container.name, self.name)
              if 's3' in driver_name:
                  base_url = 'http://%s' % self.driver.connection.host
                  url = urljoin(base_url, object_path)
              elif 'google' in driver_name:
                  url = urljoin('http://storage.googleapis.com', object_path)
              elif 'azure' in driver_name:
                  base_url = ('http://%s.blob.core.windows.net' % self.driver.key)
                  url = urljoin(base_url, object_path)
              else:
                  raise e
  
          if secure:
              if 'cloudfiles' in driver_name:
                  parsed_url = urlparse(url)
                  if parsed_url.scheme != 'http':
                      return url
                  split_netloc = parsed_url.netloc.split('.')
                  split_netloc[1] = 'ssl'
                  url = urlunparse(
                      'https',
                      '.'.join(split_netloc),
                      parsed_url.path,
                      parsed_url.params, parsed_url.query,
                      parsed_url.fragment
                  )
              if ('s3' in driver_name or
                      'google' in driver_name or
                      'azure' in driver_name):
                  url = url.replace('http://', 'https://')
          return url