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

[FEATURE] Expose underlying HTTP response #109

Open
hjoseph96 opened this issue Dec 25, 2023 · 1 comment
Open

[FEATURE] Expose underlying HTTP response #109

hjoseph96 opened this issue Dec 25, 2023 · 1 comment

Comments

@hjoseph96
Copy link

Describe the bug
I am looking for rate limiting headers in the graphql response -- but I only get back the response body.

These are the headers: https://anilist.gitbook.io/anilist-apiv2-docs/overview/rate-limiting

Am I missing something?

To Reproduce

response = @client.query @page_query, { page: 1, perPage: 100 }

Expected behavior
I expect the response to have access to the headers from the request.

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot 2023-12-25 at 4 24 26 PM
@dblock
Copy link
Collaborator

dblock commented Dec 26, 2023

We should expose the underlying response. Feel free to contribute!

@dblock dblock changed the title [Bug] Looking for response headers [FEATURE] Expose underlying HTTP response Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants