def bind_url(url):
    """binds an HTTP GET query string endpiont"""
    if url.find('?') == -1:
        binder = '?'
    if url.find('=') != -1:
        if url.find('&', -1) != -1:
            binder = ''
        else:
            binder = '&'
    if url.find('?') != -1:
        if url.find('?', -1) != -1:
            binder = ''
        elif url.find('&', -1) == -1:
            binder = '&'
    return '%s%s' % (url, binder)
