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

Set up user-agent for PCS stored requests #1350

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

johngian
Copy link
Collaborator

@johngian johngian commented Aug 29, 2024

Endpoints affected:

  • summary
  • mobile-html
  • media-list

Top level config is not maintained when custom headers are
defined on hyper requests. Also top level config is not available
on template expansion, thus we need to redefine the user-agent in
multiple places.

Bug: https://phabricator.wikimedia.org/T319365

@johngian johngian force-pushed the fix-user-agents branch 2 times, most recently from e38338d to dd606bd Compare August 29, 2024 12:49
@johngian
Copy link
Collaborator Author

Skipping a failed test because it looks unrelated to the patch.

@johngian johngian force-pushed the fix-user-agents branch 2 times, most recently from 5f979d9 to 48e12f8 Compare August 29, 2024 13:20
Endpoints affected:
* summary
* mobile-html
* media-list

Top level config is not maintained when custom headers are
defined on hyper requests. Also top level config is not available
on template expansion, thus we need to redefine the user-agent in
multiple places.
Copy link
Contributor

@thesocialdev thesocialdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johngian johngian merged commit 907e0ef into wikimedia:master Aug 29, 2024
7 of 8 checks passed
@johngian johngian deleted the fix-user-agents branch August 29, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants