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

Add status code to the result of Kitsu.prototype.request. #1041

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bglimepoint
Copy link

@bglimepoint bglimepoint commented Dec 1, 2024

Thanks for Kitsu! It's awesome :-)

We wanted to know whether the HTTP status code was a 206 to know if we'd received a partial response - and were wondering if you'd be willing to land this tweak to add it to the result :-)

Also, on looking a bit closer, I noticed that this isn't in the other methods in the same file - would be willing to add it more places if that's helpful 🙂

This allows looking for status codes like 206 to know it's a partial response.
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

Successfully merging this pull request may close these issues.

1 participant