httplib2 v0.16.0 breaks the library
See original GitHub issueRecently updated httplib2 library (v0.16.0) have a breaking change causing this Exception:
httplib2.RedirectMissingLocation: Redirected but response is missing a location: header
Steps to reproduce:
pip install --upgrade httplib2
- Now use the google drive library to upload a file (This is where I encountered the bug, it may break while using other stuffs a well)
It should either force to use 0.15.0 version of httplib2 or adapt the breaking changes introduced in the new version.
A temporary fix for those using the client library would be to add httplib2==0.15.0 in requirements,txt of the project
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:30 (5 by maintainers)
Top Results From Across the Web
Python: Httplib2 Module Not Found - Stack Overflow
httplib2 is not part of the Python standard library. It's an external package you must install yourself. using pip: pip install httplib2.
Read more >Unable to install package python-httplib2 in Kali Linux
Package python-httplib2 jessie (oldoldstable) (python): comprehensive HTTP client library written for Python 0.9+dfsg-2+deb8u1 [security]: ...
Read more >httplib2 - PyPI
A comprehensive HTTP client library, httplib2 supports many features left out of other HTTP libraries. HTTP and HTTPS. HTTPS support is only available...
Read more >httplib2 A comprehensive HTTP client library.
The httplib2 module is a comprehensive HTTP client library with the following features: ... This is mainly to deal with broken servers which...
Read more >What's New — pandas 0.16.2 documentation - PyData |
Continuing from v0.16.0, the following enhancements make string operations ... httplib2 and the Google apiclient and oauth2client API client libraries which ...
Read more >Top Related Medium Post
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Side note: what a wonderful ironic mystery this issue number is 308 backwards.
Looks like the error is back… I’ve upgraded ALL libraries to most recent:
google-api-python-client google-auth google-auth-oauthlib google-auth-httplib2