What is the difference between a URL and a URI?
A URI is the general identifier format, and a URL is a URI that also says how to locate a resource, such as https://. In everyday use the terms are interchangeable, and this parser accepts either as long as it has a scheme.