Skip to content

for #25762: Add platform and python version info to user-agent #70

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

Merged
merged 1 commit into from
Jul 1, 2014

Conversation

kporangehat
Copy link

Adding the platform that the script is running on, and python version in order to be a little more consistent with the user-agent that any typical browser would send.

There's also server-side code that attempts to assign the platform for the current user. Since the API doesn't send any information that helps the server determine what platform it's running from, the server sets it to blank. This could possibly cause issues when doing things like matching against LocalStorage paths, etc. which require platform information.

Old default user agent string: shotgun-json (3.0.17)
New default user agent string: shotgun-json (3.0.17); Python 2.6 (Mac)

brandonvfx added a commit that referenced this pull request Jul 1, 2014
…r_agent

for #25762: Add platform and python version info to user-agent
@brandonvfx brandonvfx merged commit 854e645 into master Jul 1, 2014
@brandonvfx
Copy link
Contributor

Looks good, :shipit:

@jfboismenu jfboismenu deleted the 25762_add_platform_to_user_agent branch April 5, 2018 00:09
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