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

Add an User-Agent header in the HTTPS request sent to the backend service #1

Open
CMCDragonkai opened this issue Mar 12, 2014 · 1 comment

Comments

@CMCDragonkai
Copy link
Member

As the diversification of SnapSearch client packages, the backend may
need this information to collect the usage statistics.

The recommend format of the HTTP User-Agent header are as follows,

a). User-Agent: snapsearch-client/<lang>
b). User-Agent: snapsearch-client-<lang>/<ver>
c). User-Agent: snapsearch-client (<lang>)
d). User-Agent: snapsearch-client (<lang>/<ver>)

@liuyu81
Copy link

liuyu81 commented Mar 12, 2014

I vote for "snapsearch-client (<language>/<version>)".

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