-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
There are a couple of things im not sure I understand from the readme.
Firstly, the example reads:
request('GET', 'http://example.com').done(...)Shoud that done(...) be then(...)? I see that the promise output from the call supports both, but the A+ spec doesn't even mention done() - so I would assume the most idiomatic use would be with then.
It is also a little unclear ( to people like me still feeling out the idiosyncrasies of promises ) that the getBody(encoding?) function also returns a promise.
Lastly somewhere you have affect when I think you mean effect, not that this last makes things any less clear.
I would be glad to fix those up if my assumptions are correct.
Metadata
Metadata
Assignees
Labels
No labels