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 default user-agent #157

Merged
merged 2 commits into from
Mar 22, 2023
Merged

Set default user-agent #157

merged 2 commits into from
Mar 22, 2023

Conversation

jeremyruppel
Copy link
Member

Flickr is about to require a user-agent header on API calls. superagent used to set this by default, but this was removed in ladjs/superagent#1495. This ensures we set a user-agent in our Request base.

Copy link
Member

@pdokas pdokas left a comment

Choose a reason for hiding this comment

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

Lovely!

@jeremyruppel jeremyruppel merged commit ac515ec into main Mar 22, 2023
@jeremyruppel jeremyruppel deleted the user-agent branch March 22, 2023 20:58
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