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

internals: add identifying library-plus-version string to HEADERS #1221

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

jayaddison
Copy link
Collaborator

@jayaddison jayaddison commented Aug 15, 2024

Adds the version of the recipe-scrapers library to the HEADERS user-agent field. The format suggested here follows the user-agent spec from RFC 7231 (HTTP 1.1) -- there may be a better and/or more-recent alternative that I'm not aware of!

Resolves #1219

@jayaddison jayaddison merged commit e9fec25 into main Aug 26, 2024
19 checks passed
@jayaddison jayaddison deleted the issue-1219/identifying-user-agent branch August 26, 2024 14:33
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.

Suggestion: add a library identifier to the default user-agent header
1 participant