Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

hotfix (question): pass result parameter to ajaxHelpers dispatch callback in case of http error response? #27

Open
kohalmykristof opened this issue Aug 23, 2016 · 0 comments
Labels

Comments

@kohalmykristof
Copy link
Contributor

Superagent's request's end function calls a callback with error and result parameters. Error is not null when http response is not a 200 (OK) response. In this case, ajaxProxy calls its callback by passing only error parameter. Maybe there are cases we have to pass the body/result of the response also (when server is giving detailed information in the body with response codes differing from 200).
This issue needs further discussions with developers of superdata.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant