URLs with pathnames cause parse error
Describe the bug
I have a webdav server hosted on localhost:4200. When I move the connection point to /webdav cadaver emits the following error:
Trying without the port number (
localhost/webdav) still does not work, however trying with no path (localhost:4200) works.
Environment
- cadaver version: 0.24
- neon version: 0.32.5
- OS: Arch
- SSL library version: 3.1.2-1
To Reproduce
cadaver localhost:4200/webdav (no server needed)
That's not a URL, it needs http:// or https:// at the beginning and then it will be accepted. Cadaver does parse some psuedo-URLs which is probably a mistake since they are ambiguous.
Yep that was the issue, dang!
The readme could probably benefit with some clarification on what pseudo-urls do and don't work, or perhaps just drop them altogether.