What's the difference between a URI and a URL?
What is a URI, and what is the difference between URL and URI?
Conceptually, a URI identifies a resource, and a URL shows you how to find it. Thus URI deals with parsing, local/absolute paths, etc. and URL deals with connecting to streams and such.