Skip to content

Conversation

@sornerol
Copy link
Owner

Closes #28

This change warns the user if no User-Agent string is provided. Chess.com now requires all PubAPI requests to have valid contact information in the User-Agent header. From my local testing, it seems that they are not currently rejecting requests, so for now we will still attempt the request, but we will also log a warning with a link to the relevant information on Chess.com's website so as to encourage developers to start setting this field.

This change warns the user if no User-Agent string is provided. Chess.com
now requires all PubAPI requests to have valid contact information in the
User-Agent header. From my local testing, it seems that they are not
currently rejecting requests, so for now we will still attempt the request,
but we will also log a warning with a link to the relevant information on
Chess.com's website so as to encourage developers to start setting this
field.
@sornerol sornerol merged commit db3958d into development Jan 31, 2024
@sornerol sornerol deleted the 28-user-agent-header branch January 31, 2024 18:12
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