yui/yeti — pull request #17 by davglass (2012-09-18 21:14:42+00:00)
Title: If no port is returned from url.parse, assume 80 not the default

If you do this:

`yeti --hub http://hub.davglass.com ./test.html` Yeti will try to connect to: `http://hub.davglass.com:9000/` instead.

The `url.parse` method returns no port when it parses `http://hub.davglass.com` (or `https://hub.davglass.com`). It only returns a port if one was specified in the url. To make this work a little nicer Yeti should check to see if `port` is returned and if not set it to `80` since that is the expected port from that url.