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 a User Agent to cc-downloader #6

Merged
merged 1 commit into from
Feb 6, 2025
Merged

feat: Add a User Agent to cc-downloader #6

merged 1 commit into from
Feb 6, 2025

Conversation

pjox
Copy link
Member

@pjox pjox commented Feb 4, 2025

This commit adds a User Agent to cc-downloader so that its use can better be tracked.
It adds a refactor to the way the client is built so that the code is reused by both the download-paths and download functions.
It also adds 2 tests to check that the user agent is properly set.

This commit adds a User Agent to cc-downloader so that its use can better be tracked.
It adds a refactor to the way the client is built so that the code is reused by both the download-paths and download functions.
It also adds 2 tests to check that the user agent is properly set.
@pjox pjox added the enhancement New feature or request label Feb 4, 2025
@pjox pjox requested review from wumpus and thunderpoot February 4, 2025 17:17
@pjox pjox self-assigned this Feb 4, 2025
@thunderpoot
Copy link
Member

LGTM. Thanks @pjox! I would hasten to add to the description of this PR that it's not so much that its use can better be tracked, but it's so that it uses proper HTTP semantics to conform with RFC 9110.

@pjox pjox removed the request for review from wumpus February 6, 2025 12:37
@pjox pjox merged commit e7068ce into dev Feb 6, 2025
@pjox pjox deleted the pjox/User-Agent branch February 6, 2025 12:40
pjox added a commit that referenced this pull request Feb 15, 2025
chore: Merges fixes, features and refactors for version 0.5.2

Fixes issue feat: Add a User Agent to cc-downloader #6
- Introduces refactors so that linter check are all passed
- Introduces a rust workflow for ensuring that the code compiles and test are passed in the dev and main branches
- Introduces changes to the contributing policy so that PRs are merged to the dev branch
- Introduces slight updates to the documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants