danwrong/restler — pull request #84 by aledbf (2012-05-08 14:42:05+00:00)
Title: Support for Digest Authentication

Example:
```javascript
rest.post('URL',{
auth: 'digest',
username: 'USERNAME',
password: 'PASSWORD',
realm: "Digest REALM",
key: 'Digest key',
nonceTtl: 10
}).on('complete', function(data, response) {
});
```

This patch require new options:
+ auth: can be basic or digest (just to not change unrelated source code in restler)
+ realm: digest realm
+ key: digest key
+ nonceTtl: nonce time to live (in seconds)