1 diff -Nur httplib2-0.9.orig/python2/httplib2/__init__.py httplib2-0.9/python2/httplib2/__init__.py
2 --- httplib2-0.9.orig/python2/httplib2/__init__.py 2014-04-14 06:52:57.000000000 -0600
3 +++ httplib2-0.9/python2/httplib2/__init__.py 2014-05-23 21:17:02.082118837 -0600
5 CA_CERTS = ca_certs_locater.get()
7 # Default CA certificates file bundled with httplib2.
8 - CA_CERTS = os.path.join(
9 - os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
10 +# CA_CERTS = os.path.join(
11 +# os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
12 +# Use Fedora system-wide shared certificate store for security, consistency.
13 + CA_CERTS = "/etc/pki/tls/certs/ca-bundle.crt"
15 # Which headers are hop-by-hop headers by default
16 HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
17 --- httplib2-0.9/python3/httplib2/__init__.py 2014-04-14 05:52:57.000000000 -0700
18 +++ httplib2-0.9/python3/httplib2/__init__.py.new 2015-01-12 17:22:19.815505848 -0800
20 HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
22 # Default CA certificates file bundled with httplib2.
23 -CA_CERTS = os.path.join(
24 - os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
25 +#CA_CERTS = os.path.join(
26 +# os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
27 +# Use Fedora system-wide shared certificate store for security, consistency.
28 +CA_CERTS = "/etc/pki/tls/certs/ca-bundle.crt"
30 def _get_end2end_headers(response):
31 hopbyhop = list(HOP_BY_HOP)