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

Added User-Agent in images.py to prevent server blocking #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeroenlicht
Copy link

Many websites are configured to block requests with a missing User-Agent
Added
'User-Agent': 'Open Badges Validator Core'
to the get headers on line 61

…ver blocking

Many websites are configured to block requests with a missing User-Agent
Added
'User-Agent': 'Open Badges Validator Core'
to the get headers on line 61
@jeroenlicht jeroenlicht changed the title Added User-Agent in headers for validate_image request to prevent ser… Added User-Agent to prevent server blocking Sep 1, 2019
@jeroenlicht jeroenlicht changed the title Added User-Agent to prevent server blocking Added User-Agent in images.py to prevent server blocking Sep 1, 2019
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.

1 participant