client `--ping` doesn't work with gwdatafind-server 1.1.0
The client tool's standard --ping
doesn't work with %GWDataFind Server 1.1.0:
$ python3 -m gwdatafind -r datafind-test.ligo.uwm.edu:443 --ping
Traceback (most recent call last):
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/site-packages/gwdatafind/__main__.py", line 474, in <module>
sys.exit(main())
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/site-packages/gwdatafind/__main__.py", line 455, in main
return ping(opts, out)
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/site-packages/gwdatafind/__main__.py", line 256, in ping
ui.ping(host=args.server)
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/site-packages/gwdatafind/ui.py", line 71, in wrapper
return func(*args, **kwargs)
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/site-packages/gwdatafind/ui.py", line 79, in finder
return getattr(connection, target)(*args, **kwargs)
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/site-packages/gwdatafind/http.py", line 175, in ping
self._request_response("HEAD", url)
File "/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/site-packages/gwdatafind/http.py", line 95, in _request_response
raise HTTPError(url, response.status, response.reason,
urllib.error.HTTPError: HTTP Error 404: NOT FOUND