Skip to content

Perplexing Request/Thenable/then Behavior #2775

Open
@CNSKnight

Description

@CNSKnight

v1.5.2
Two issues:
I intermittently get a thenable back from Request w/no .then method?

r = new Request.JSON({url: 'https://someplace.net/api/'})
Object {$chain: Array[0], $events: F, options: Object, $caller: null, $family: null…}
r.then
undefined

When it accepts the .then, neither callback applied ever gets called?

r = new Request({url: ..., onFailure: ...);
r.then(success, failure); // neither gets called even on a 200 response
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38800465-perplexing-request-thenable-then-behavior?utm_campaign=plugin&utm_content=tracker%2F22067&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F22067&utm_medium=issues&utm_source=github).

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