The docs for sys::Uri.fromStr say (and evident from looking at Sections::normalizeHttp in Uri.java):
If http then port 80 normalizes to null
If http then a null path normalizes to /
Is there any reason why the same principles don't apply to the https counterpart? That is:
If https then port 443 normalizes to null
If https then a null path normalizes to /
I ask because OpenAuth dictate this behaviour in section 9.1.2. Construct Request URL. As far as fantom is concerned, it just feels like https was forgotten or left out. Poor https!
brianMon 20 May 2013
Good point - I pushed a changed for both https and ftp
SlimerDude Sun 19 May 2013
The docs for
sys::Uri.fromStr
say (and evident from looking atSections::normalizeHttp
inUri.java
):Is there any reason why the same principles don't apply to the
https
counterpart? That is:I ask because OpenAuth dictate this behaviour in section 9.1.2. Construct Request URL. As far as fantom is concerned, it just feels like
https
was forgotten or left out. Poorhttps
!brian Mon 20 May 2013
Good point - I pushed a changed for both https and ftp
changeset
SlimerDude Mon 20 May 2013
So
https
was forgetten about! Andftp
too! Arrr, bless them!