DEV Community

Discussion on: What Is The Difference Between A URI And A URL?

Collapse
 
vibertthio profile image
Vibert Thio

I don't think example.test.com is a valid URI. In RFC3986:

URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

And it didn't say anything about that schema can be ignored. Also ":" seems to be necessary in the definition. Am I thinking wrong?