Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've seen people confuse "http" with "http:", as in "the 'http:' URI scheme".

The name of the scheme is "http"; "http:" is meaningless.



That's probably because the DOM's window.location.protocol returns "http:" for URLs with http schemes. That is reflected in the diagram included in the article where protocol extends to cover the colon in the DOM row. Overall, it's a pretty unfortunate mish mash of terminology.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: