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 #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Set default user agent #57

wants to merge 1 commit into from

Conversation

airowe
Copy link

@airowe airowe commented Nov 25, 2024

Description

Sets a default user agent that identifies network requests from this SPM

Type of Change

  • Bug Fix
  • New Feature
  • Documentation

Checklist:

  • My code follows the ATProtoKit API Design Guidelines as well as the Swift API Design Guidelines.
  • I have performed a self-review of my own code and commented it, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings or errors in the compiler or runtime.
  • My code is able to build and run on my machine.

Screenshots (if applicable)

Attach any screenshots or GIFs showcasing the changes effect.

Additional Notes

We could add a method for users to update with their own custom user agent down the line, but they can update the ['User-Agent'] header currently if they so desire.

Credits

If you want to be credited in the CONTRIBUTORS file, you can fill out the form below. Please don't remove the square brackets.

@MasterJ93
Copy link
Owner

I'm approving this, but I'm going to push it to 0.21.0.

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