def strip_query(path):
    query_start = path.find('?')
    if query_start != -1:
        return path[:query_start]
    return path
Strips query from a path.
dataset/ETHPy150Open wrr/wwwhisper/wwwhisper_auth/url_utils.py/strip_query