nodejitsu/pkgcloud — pull request #139 by kenperkins (2013-05-16 23:17:46+00:00)
Title: [streams] Allow streams to be piped without callbacks

There was a case where if you piped between two streams with `pkgcloud` and you didn't provide a download callback, it would crash because it was trying to invoke an undefined.

For example, streaming between two storage clients would crash:

```Javascript
client.download({ ... }).pipe(client2.upload({ ... }, function(err, result));
```

This fixes #138.