def _ConstructFullUrlBase(uri, host=None, ssl=False):
 if uri.startswith('http'):
  return uri
 if ssl:
  return ('https://%s%s' % (host, uri))
 else:
  return ('http://%s%s' % (host, uri))

def _ConstructFullUrlBase ( uri , host = None , ssl = False ) : if uri . startswith ( 'http' ) : return uri if ssl : return ( 'https://%s%s' % ( host , uri ) ) else : return ( 'http://%s%s' % ( host , uri ) )
puts url components into the form http(s)://full .