Hacker News new | ask | show | jobs
by laurencerowe 40 days ago
This is not possible since it is ambiguous. It is impossible to parse “http://127.0.0.1:gopher/“ since that would be valid as either “scheme://user:host/“ or “scheme://host:portname/“.

http://127.0.0.1:70/“ is unambiguous since 70 is not a valid host.