Maybe this should be `||`?  What happens if you have a url like `http:foo.txt` or `//example.com/foo.txt`?