Question: The protocol of an url http://a.b.c should be http or http:?
Observation: Given an url http://a.b.c, the following table shows the different parsing results of protocol among Node, Python and Java:
Note:
Current parsing logic: https://github.com/nodejs/node/blob/master/lib/url.js#L39
An example:
import URL from 'url';
let parsedUrl = URL.parse('http://a.b.c')
Url {
protocol: 'http:',
...
}