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

Detect and set useragent to null when running from browsers. #33

Open
tsantef opened this issue Oct 10, 2016 · 2 comments
Open

Detect and set useragent to null when running from browsers. #33

tsantef opened this issue Oct 10, 2016 · 2 comments

Comments

@tsantef
Copy link
Member

tsantef commented Oct 10, 2016

No description provided.

@tarun
Copy link
Contributor

tarun commented Nov 14, 2016

How about not setting UserAgent at all.. And just let the library/platform's user agent flow through?

@tsantef
Copy link
Member Author

tsantef commented Nov 14, 2016

So far it's been very useful for me in debugging anx-api issues in api logs. Axios sets the UserAgent if the user does not https://github.com/mzabriskie/axios/blob/master/lib/adapters/http.js#L29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants