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

Support gzipped PSL response #88

Merged
merged 2 commits into from
Feb 5, 2016
Merged

Support gzipped PSL response #88

merged 2 commits into from
Feb 5, 2016

Conversation

jnozsc
Copy link
Contributor

@jnozsc jnozsc commented Feb 5, 2016

Closes #87

@john-kurkowski john-kurkowski changed the title fix issue #87 Support gzipped PSL response Feb 5, 2016
conn = urlopen(url)
text = conn.read()
response = urlopen(url)
if response.info().get('Content-Encoding') == 'gzip':
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

urllib makes everything so piecemeal... One day, I'm gonna break down and have this library depend on python-requests. ;)

@john-kurkowski
Copy link
Owner

Thanks for this!

john-kurkowski added a commit that referenced this pull request Feb 5, 2016
Support gzipped PSL response
@john-kurkowski john-kurkowski merged commit 9a07bd9 into john-kurkowski:master Feb 5, 2016
@jnozsc
Copy link
Contributor Author

jnozsc commented Feb 6, 2016

Would you mind I request a new pip release in the following week(s)?

@john-kurkowski
Copy link
Owner

Sure! Done in 1.7.5.

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