aio-libs / aiobotocore

asyncio support for botocore library using aiohttp
https://aiobotocore.rtfd.io
Apache License 2.0
1.14k stars 179 forks source link

Send project-specific `User-Agent` HTTP header #1075

Closed jakob-keller closed 7 months ago

jakob-keller commented 7 months ago

Description of Change

Includes aiobotocore identifier and version in default User-Agent HTTP header.

Assumptions

Customizing the default User-Agent HTTP header is beneficial for this project and AWS, while not impacting users. See #853 for discussion.

Checklist for All Submissions

Checklist when updating botocore and/or aiohttp versions

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (743c26f) 86.25% compared to head (a63e037) 86.23%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1075 +/- ## ========================================== - Coverage 86.25% 86.23% -0.03% ========================================== Files 60 60 Lines 5858 5870 +12 ========================================== + Hits 5053 5062 +9 - Misses 805 808 +3 ``` | [Flag](https://app.codecov.io/gh/aio-libs/aiobotocore/pull/1075/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/aio-libs/aiobotocore/pull/1075/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `86.23% <100.00%> (-0.03%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.