Skip to content

[FEATURE] Expose underlying HTTP response #109

@hjoseph96

Description

@hjoseph96

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions