joyent/node — Issue #2791: url.parse without 'http://' is basically worthless
Author: pennyfx
Created: 2012-02-19 23:39:06+00:00
State: open

node v.0.7.4

```javascript
var p = url.parse('http://www.npr.org/2012/02/16/146981829/');
console.log(p);

{ protocol: 'http:',
slashes: true,
host: 'www.npr.org',
hostname: 'www.npr.org',
href: 'http://www.npr.org/2012/02/16/146981829/',
pathname: '/2012/02/16/146981829/',
path: '/2012/02/16/146981829/' }

p = url.parse('www.npr.org/2012/02/16/146981829/');
console.log(p);

{ pathname: 'www.npr.org/2012/02/16/146981829/',
path: 'www.npr.org/2012/02/16/146981829/',
href: 'www.npr.org/2012/02/16/146981829/' }

```