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 library User-Agent header #123

Merged
merged 7 commits into from
Jul 9, 2020
Merged

Add library User-Agent header #123

merged 7 commits into from
Jul 9, 2020

Conversation

cmlccie
Copy link
Collaborator

@cmlccie cmlccie commented Jul 9, 2020

Includes @nerdguru guru's work in #110 and code style updates. I moved the code for generating the User-Agent header out to a user_agent() function and updated the session headers.

nerdguru and others added 7 commits April 29, 2020 15:51
Use the _metadata module as the source for all library metadata.
- Add a user_agent() function to create the User-Agent header
- Refactor the user agent comment data structure
- Replace string-defining single quotes with double quotes
Only import the ._version module and compute the version when this module is imported.
@cmlccie cmlccie merged commit 30c080a into v1.x Jul 9, 2020
@cmlccie cmlccie deleted the pr/110 branch July 9, 2020 18:45
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.

2 participants