Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide response information for get function #139

Open
Zappatta opened this issue Jul 30, 2018 · 0 comments
Open

Provide response information for get function #139

Zappatta opened this issue Jul 30, 2018 · 0 comments

Comments

@Zappatta
Copy link

Currently, calling the batch function and issuing a batch requets, will yield an array of results as received from facebook. This array will include the response code and headers for each request in the batch.

However, calling the get function will only yield the response body, and will omit the headers and status code of the response. This information may actually be useful and needed by users of the lib. For example, for for rate limited as mentioned in #136
So callbacks for the get function should also receive more info about the response. At least the headers and status code.

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

No branches or pull requests

1 participant