def getProtocol(useSSL):
    
    if useSSL:
        return "https://"
    else:
        return "http://"
Return proper protocol
dataset/ETHPy150Open Esri/ops-server-config/SupportFiles/AGSRestFunctions.py/getProtocol