Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Adopt <product>/<version> convention for User-Agent header #100

Merged
merged 1 commit into from
May 19, 2023

Conversation

mattt
Copy link
Contributor

@mattt mattt commented May 10, 2023

Currently, the client sends a User-Agent header in the form replicate-python@<version>. This PR changes it to replicate-python/<version> so that it's more in line with the standard convention 1.

Footnotes

  1. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt mattt force-pushed the mattt/user-agent branch from 00c4a20 to e62882e Compare May 10, 2023 16:43
@mattt mattt merged commit 83458a3 into main May 19, 2023
@mattt mattt deleted the mattt/user-agent branch May 19, 2023 22:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant