News for hackers. Stuff that matters.
Re:How many ways can you slice a URL and name the pieces? by tantalor on Friday August 26, 2011 @01:00PM (#2929049)
I've seen people confuse "http" with "http:", as in "the 'http:' URI scheme".

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

Re:How many ways can you slice a URL and name the pieces? by franksalim on Friday August 26, 2011 @01:29PM (#2929161)
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.