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

Use proper request headers when opening URI. #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ccgillett
Copy link

This includes passing a more robust user agent string, accept header, etc. Wrapper vulnerable library
calls to avoid unhandled exception traps. Also allow for a logger to be
passed in and used to track caught exceptions.

Broad exception trapping is employed here to catch known issues with the Python TLS libraries for certain HTTPS situations.

ccgillett and others added 2 commits January 8, 2016 23:49
refined user agent string, accept header, etc.  Wrapper vulnerable library
calls to avoid unhandled exception traps.  Also allow for a logger to be
passed in and used to track caught exceptions.
@tuxdna
Copy link
Collaborator

tuxdna commented Jan 13, 2017

@ccgillett If this PR is still applicable, please resolve the conflicts and update.

Also please add a test case so this can be detected in future.

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