mikeal/request — pull request #564 by criloz (2013-05-31 09:53:46+00:00)
Title: Fix redirection

The problem
===

Request module was ignoring the new location

Why:
===

when there are a redirection set self.uri to the new direction
```javascript
self.uri = url.parse(redirectTo)
```

after that again , call the init function with this

```javascript
if (self.url ) {
// People use this property instead all the time so why not just support it.
self.uri = self.url
delete self.url
}
```
so the location is ignored, have not effect, and the second request is done to the original url

solution
===
```javascript
if (self.url && !self.uri) {
// People use this property instead all the time so why not just support it.
self.uri = self.url
delete self.url
}
```

Regards