-
Notifications
You must be signed in to change notification settings - Fork 342
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
Reject requests that don't contain a valid User Agent string #10
Comments
Require valid user agent in request. Fixes #10
I'm curious: what is the use case for the API requiring a valid user agent string or a user agent string at all? Not saying this is unnecessary or wrong; just curious what use case it satisfies. Thanks. |
It makes it easy to identify the application in case of errors. I borrowed this feature from GitHub's API:
|
Got it, thanks! Interesting solution for the use case. Another solution for this same use case that I've seen in the past is to identify the application via the |
We support both requests without an |
Look into libraries that validate user agent strings.
The text was updated successfully, but these errors were encountered: