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

To override user agent need override request method #752

Closed
tbicr opened this issue Oct 1, 2015 · 1 comment
Closed

To override user agent need override request method #752

tbicr opened this issue Oct 1, 2015 · 1 comment

Comments

@tbicr
Copy link

tbicr commented Oct 1, 2015

Now user_agent get from utils.user_agent when SEND_USER_AGENT is True. To override it I need override whole request method: https://github.com/omab/python-social-auth/blob/master/social/backends/base.py#L215.

Propose add overridable user_agent method instead direct utils.user_agent usage.

@omab
Copy link
Owner

omab commented Dec 26, 2016

Support added at social-core.

@omab omab closed this as completed Dec 26, 2016
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

No branches or pull requests

2 participants