def constructFlagQueryURL(protocol, server, ifo):
    """
    Simple url construction method for dqsegdb server flag queries.

    Parameters
    ----------
    protocol : `string`
        Ex: 'https'
    server : `string`
        Ex: 'dqsegdb5.phy.syr.edu'
    ifo : `string`
        Ex: 'L1'
    """
    url1 = protocol + '://' + server + '/dq'
    url2 = '/'.join([url1, ifo])
    return url2
