Subject: | No '//' between 'http:' and the authority part of the uri |
If you set the schema manually - it does not add '//' between 'http:'
and the authority part when printing:
zby@zby:~/progs/html-formhandler$ perl -e 'use URI; $a=URI->new(
"example.com" ); $a->scheme("http"); print "$a\n"'
http:example.com
zby@zby:~/progs/html-formhandler$
zby@zby:~/progs/html-formhandler$ perl -e 'use URI; $a=URI->new(
"example.com" ); $a->scheme("http"); print $a->canonical. "\n"'
http:example.com
zby@zby:~/progs/html-formhandler$