Skip to content

fix: add user-agent headers to requests with pypiclient - #622

Merged
JamieMagee merged 1 commit into
mainfrom
users/jamagee/user-agent-header
Jun 23, 2023
Merged

fix: add user-agent headers to requests with pypiclient#622
JamieMagee merged 1 commit into
mainfrom
users/jamagee/user-agent-header

Conversation

@JamieMagee

Copy link
Copy Markdown
Member

This will add 2 User-Agent headers to all requests to PyPI:

  • ComponentDetection/{version} (A product identifier)
  • (+https://github.com/microsoft/component-detection) (A comment)

See MDN documentation for more details on this header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent

@JamieMagee
JamieMagee requested a review from a team as a code owner June 23, 2023 18:28
@JamieMagee
JamieMagee requested a review from Omotola June 23, 2023 18:28
@JamieMagee
JamieMagee merged commit 7144318 into main Jun 23, 2023
@JamieMagee
JamieMagee deleted the users/jamagee/user-agent-header branch June 23, 2023 20:50
@github-actions

github-actions Bot commented Jun 23, 2023

Copy link
Copy Markdown

👋 Hi! It looks like you modified some files in the Detectors folder.
You may need to bump the detector versions if any of the following scenarios apply:

  • The detector detects more or fewer components than before
  • The detector generates different parent/child graph relationships than before
  • The detector generates different devDependencies values than before

If none of the above scenarios apply, feel free to ignore this comment 🙂

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