Skip to content

README issues #25

@refactorized

Description

@refactorized

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions