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

feat: Add support to use ETag for conditional requests against the Github API #6505

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andrewhibbert
Copy link

@andrewhibbert andrewhibbert commented Jan 31, 2025

Adds functionality to use conditional requests with the Github API by adding etag to request headers. If the response has not changed a 304 response is returned, which does not count against the primary rate limit.

Checklist

Fixes #6503

Relates to #

@andrewhibbert andrewhibbert requested a review from a team as a code owner January 31, 2025 20:32
@andrewhibbert andrewhibbert changed the title Feat etags feat: Add support to use ETag for conditional requests against the Github API Jan 31, 2025
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.

Use conditional requests functionaliy with Github Scaler
1 participant