3 ms·
A comment on the issue linked from the PR references https://url.spec.whatwg.org/#url-serializing https://url.spec.whatwg.org/#url-serializing as a rationale fo
by lilyball 2y ago
A comment on the issue linked from the PR references https://url.spec.whatwg.org/#url-serializing https://url.spec.whatwg.org/#url-serializing as a rationale for why itms-services would normally not have the "//" and therefore needs the exception. However that standard says non-null, not non-empty¹, so it sounds like python's URL library is actually just wrong here in that it's treating an empty host the same as null.
¹Also I checked, that standard does actually define an empty host (https://url.spec.whatwg.org/#empty-host https://url.spec.whatwg.org/#empty-host) as a distinct concept from a null host.