summaryrefslogtreecommitdiff
path: root/python2/httplib2
Commit message (Collapse)AuthorAgeFilesLines
* stray raiseJoe Gregorio2016-01-261-1/+0
|
* Restore a branch that was erroneously removed in a previous patch.Joe Gregorio2016-01-261-0/+2
|
* Remove VeriSign Class 3 CA from trusted certsStephen Röttger2016-01-051-44/+0
| | | | | | | | Removing the VeriSign Class 3 Public Primary Certification Authority certificate since as of December 1, 2015, Symantec has decided that this root will no longer comply with the CAB baseline requirements. For more information, see: https://googleonlinesecurity.blogspot.com/2015/12/proactive-measures-in-digital.html
* Release 0.9.20.9.2Joe Gregorio2015-09-281-1/+1
|
* Fix incorrect ResponseNotReady exceptions, retry on transient errors.Colin Stolley2015-09-181-2/+3
| | | | | | | | | | | | | For socket errors besides Connection Refused, the code will swallow the error and fall through to a misleading "ResponseNotReady" exception. This is both incorrect and unhelpful. The code also does not retry on errors that are potentially transient, ie, Network Unreachable or Address Not Available. This patch addresses both concerns by raising the socket error so that application code can handle it appropriately, or retrying if the socket error is transient. This likely resolves Issue #284 .
* 0.9.1 Release changes.v0.9.10.9.1Joe Gregorio2015-04-111-2/+2
|
* Default to doing DNS resolution through a proxy server if present.Michael Farrell2014-07-141-11/+26
| | | | | | | | | | | | | | - Resolve an issue where proxy information by default was not resolving DNS through a proxy server (unlike the `socks` library), so users getting proxy information from an environment variable (HTTP_PROXY/HTTPS_PROXY) with no external DNS could not connect to hosts with DNS names. - Resolve a potential issue where if the proxy server was a different address family to the destination host and there was functional DNS, may not work. For example, using a IPv4-only proxy server to connect to an IPv6-only host via an IPv4-only internal network. - Improved documentation of the ProxyInfo class.
* Release 0.9. The heartbleed release.Joe Gregorio2014-04-141-1/+1
|
* Add an updated cacerts.txt file and fix some tests.0.9Joe Gregorio2014-03-061-459/+1903
| | | | Turns out nginx doesn't support etags on gzip'd content.
* use socket.getdefaulttimeout() on App Engine as well as off, take 2Ryan Barrett2014-02-121-1/+3
| | | | the first attempt (3118243f371f56ba5b6cf9d7dfcea09c98daa573) wouldn't set the timeout for clients that passed deadline=None explicitly, which App Engine's httplib often does. this fixes that.
* use socket.getdefaulttimeout() on App Engine as well as offRyan Barrett2014-02-121-1/+1
|
* Pass method by name, not positionally.Joe Gregorio2013-03-261-2/+7
| | | | | Fixes issue #252. Reviewed in https://codereview.appspot.com/7987046/.
* Fix handling of BadStatusLine.Joe Gregorio2013-03-081-1/+17
| | | | | Fixes issue #250. Review in https://codereview.appspot.com/7529045/.
* 0.8 releaseJoe Gregorio2013-03-061-1/+1
|
* Catch an edge case in imports.Joe Gregorio2013-03-031-2/+2
| | | | Reviewed in https://codereview.appspot.com/7454047/.
* Fix App Engine headers.Joe Gregorio2013-02-271-1/+1
| | | | Reviewed in https://codereview.appspot.com/7402063/.
* Make code slightly more portable.Joe Gregorio2013-02-251-10/+28
| | | | Revewed in https://codereview.appspot.com/7406049/.
* Make indents consistent with PEP8.Joe Gregorio2013-02-252-179/+183
| | | | Reviewed in https://codereview.appspot.com/7314118/.
* Add missing conn.close().Joe Gregorio2013-02-251-0/+1
| | | | Reviewed in https://codereview.appspot.com/7384055/.
* Fix all whitespace issues. Patch from dhermes@google.com.Joe Gregorio2013-02-191-9/+9
|
* Change the App Engine specific connection objects to be subclassesJoe Gregorio2012-12-261-68/+18
| | | | of the httplib ones, which gives better behavior on App Engine.
* Update for 0.7.7 release.Joe Gregorio2012-11-121-4/+0
|
* Stop swallowing App Engine specific errors.Joe Gregorio2012-11-121-2/+0
| | | | Fixes issue 230. Fixes issue 231.
* Fix Python3 dup header handling.Joe Gregorio2012-11-121-1/+1
| | | | Fixes isse #229.
* Added GeoTrust certJoe Gregorio2012-10-241-0/+25
|
* Make httplib2.Http() instances pickleable.Joe Gregorio2012-10-031-68/+83
| | | | Reviewed in https://codereview.appspot.com/6506074/
* Version 0.7.6Joe Gregorio2012-09-111-1/+1
|
* On Python App Engine 2.7 a body can be passed in that is actually a stream. DoJoe Gregorio2012-09-111-0/+4
| | | | a full read of the contents of that stream before proceeding.
* Fix app engineJoe Gregorio2012-08-281-2/+2
|
* Fixes issue #212. Fixes issue #210. Fixes issue #214. Fixes issue #223. ↵Joe Gregorio2012-08-281-8/+9
| | | | Fixes issue #222.
* Keys are lowercase in a Response object, regardless of how Response object ↵Joe Gregorio2012-07-281-2/+2
| | | | is constructed.
* Add control so that Authorization: headers aren't forwarded on a 3xx ↵Joe Gregorio2012-07-231-1/+6
| | | | response by default.
* Set the reason correctly when running on App Engine.Joe Gregorio2012-07-231-2/+4
| | | | | | Patch from Alain Vongsouvanh. Reviewed in http://codereview.appspot.com/6422051/
* Fix proxy socks for SSL connections. Fixes issue #199.Joe Gregorio2012-04-171-10/+42
|
* Add a parameter to control the number of retries.Joe Gregorio2012-04-171-6/+7
|
* 0.7.4 fix for missing cacertsJoe Gregorio2012-03-021-1/+1
|
* Changing version numbers for 0.7.3 releaseJoe Gregorio2012-03-021-1/+1
|
* Fall back to using installed socks.py if local one is not found.Joe Gregorio2012-01-091-1/+4
| | | | Reviewed in http://codereview.appspot.com/5485050/
* When opening a socket for HTTP, httplib2 uses the IP and port that is ↵Joe Gregorio2012-01-061-1/+1
| | | | returned from socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM). This breaks using an HTTP CONNECT proxy by preventing the socks module from ever seeing the original domain name. Using the orignal hostname and port seem to be the correct choice here as the socket library will resolve them and it would have already been cached.
* Fix python 2.4 compat issues and fixed python 3.0 tests.Joe Gregorio2012-01-051-13/+38
|
* Now allow unicode to specify proxy hostname. Fixes #179Jason R. Coombs2011-12-011-6/+6
|
* Fixed issue where proxy bypass detection failed when a port was specified.Jason R. Coombs2011-08-161-1/+3
|
* no_proxy can now be upper caseJason R. Coombs2011-08-161-2/+12
| | | | | ProxyInfo.from_environment now honors no_proxy=* ProxyInfo.applies_to now matches the domain of the host (consistent with Python's urllib)
* Http() now detects the proxy configurationJason R. Coombs2011-08-091-7/+30
|
* Added support to ProxyInfo object for detection of proxy from environment ↵Jason R. Coombs2011-08-091-1/+43
| | | | variables
* Reformatted ProxyInfo for readabilityJason R. Coombs2011-08-091-15/+22
|
* Prepping for version 0.7.2 releaseJoe Gregorio2011-11-141-1/+1
|
* Actually fix the issue in AppEngineHttpConnection.getresponse.Alain Vongsouvanh2011-11-111-1/+0
|
* Raise an exception in AppEngineHttpConnection.getresponse if response is None.Alain Vongsouvanh2011-11-091-1/+4
|
* Fixes issue 161.Joe Gregorio2011-10-201-0/+3
| | | | | | Don't use App Engine urlfetch when the apiproxy stub is not present. Reviewed in http://codereview.appspot.com/4823050/.