public URL(spec as String) throws MalformedURLException:
import klyn.net url = URL("https://example.com/index.html") print(url.path)