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

ContentEncodingError when following redirects #130

Closed
andreasots opened this issue Jan 6, 2016 · 1 comment
Closed

ContentEncodingError when following redirects #130

andreasots opened this issue Jan 6, 2016 · 1 comment
Labels

Comments

@andreasots
Copy link
Collaborator

[2016-01-06 02:39:48,529] INFO:utils:Downloading http://goo.gl/X4DWo9 failed: ContentEncodingError: 400, message='deflate', retrying...
[2016-01-06 02:39:48,557] INFO:utils:Downloading http://goo.gl/X4DWo9 failed: ContentEncodingError: 400, message='deflate', retrying...
[2016-01-06 02:39:48,576] ERROR:utils:Error fetching 'http://goo.gl/X4DWo9'
@andreasots andreasots added the bug label Jan 6, 2016
@andreasots
Copy link
Collaborator Author

It seems that aiohttp negotiates a content encoding and then tries to decode the empty message body: aio-libs/aiohttp#609

andreasots added a commit to andreasots/lrrbot that referenced this issue Jan 10, 2016
andreasots added a commit that referenced this issue Jan 10, 2016
Workaround for #130: Do GET requests instead of HEAD.
@andreasots andreasots changed the title ContentDecodingError when following redirects ContentEncodingError when following redirects Jan 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant