'http://www.hm.com' asUrl host = 'www.hm.com'.
All good so far, but:
  'www.hm.com' asUrl host = nil.
  'www.hm.com' asUrl segments = an OrderedCollection('www.hm.com')

I realize presenting a URL without a scheme is kind of vague, but the least
surprising thing to me would be to interpret schemeless URLs as starting
with the authority. After all, most people commonly use "www.hm.com" as a
shorthand for "http://www.hm.com";



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/ZnUrl-Constructing-without-Scheme-tp4811576.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to