Skip to content

Commit

Permalink
Fix bug #57
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgregorio committed Jul 16, 2009
1 parent 00a352e commit 1a7609f
Show file tree
Hide file tree
Showing 99 changed files with 6 additions and 2 deletions.
Empty file modified CHANGELOG
100644 → 100755
Empty file.
Empty file modified MANIFEST
100644 → 100755
Empty file.
Empty file modified Makefile
100644 → 100755
Empty file.
Empty file modified README
100644 → 100755
Empty file.
Empty file modified doc/html/_sources/index.txt
100644 → 100755
Empty file.
Empty file modified doc/html/_sources/libhttplib2.txt
100644 → 100755
Empty file.
Empty file modified doc/html/_static/contents.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified doc/html/_static/default.css
100644 → 100755
Empty file.
Empty file modified doc/html/_static/doctools.js
100644 → 100755
Empty file.
Empty file modified doc/html/_static/file.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified doc/html/_static/interface.js
100644 → 100755
Empty file.
Empty file modified doc/html/_static/jquery.js
100644 → 100755
Empty file.
Empty file modified doc/html/_static/minus.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified doc/html/_static/navigation.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified doc/html/_static/plus.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified doc/html/_static/pygments.css
100644 → 100755
Empty file.
Empty file modified doc/html/_static/rightsidebar.css
100644 → 100755
Empty file.
Empty file modified doc/html/_static/searchtools.js
100644 → 100755
Empty file.
Empty file modified doc/html/_static/sphinxdoc.css
100644 → 100755
Empty file.
Empty file modified doc/html/_static/stickysidebar.css
100644 → 100755
Empty file.
Empty file modified doc/html/_static/traditional.css
100644 → 100755
Empty file.
Empty file modified doc/html/genindex.html
100644 → 100755
Empty file.
Empty file modified doc/html/index.html
100644 → 100755
Empty file.
Empty file modified doc/html/libhttplib2.html
100644 → 100755
Empty file.
Empty file modified doc/html/modindex.html
100644 → 100755
Empty file.
Empty file modified doc/html/search.html
100644 → 100755
Empty file.
Empty file modified doc/html/searchindex.json
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions httplib2/__init__.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -742,10 +742,10 @@ class HTTPSConnectionWithTimeout(httplib.HTTPSConnection):

def __init__(self, host, port=None, key_file=None, cert_file=None,
strict=None, timeout=None, proxy_info=None):
self.timeout = timeout
self.proxy_info = proxy_info
httplib.HTTPSConnection.__init__(self, host, port=port, key_file=key_file,
cert_file=cert_file, strict=strict)
self.timeout = timeout
self.proxy_info = proxy_info

def connect(self):
"Connect to a host on a given (SSL) port."
Expand Down
Empty file modified httplib2/iri2uri.py
100644 → 100755
Empty file.
4 changes: 4 additions & 0 deletions httplib2test.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,10 @@ def testIndividualTimeout(self):
self.assertTrue(content.startswith("Request Timeout"))


def testHTTPSInitTimeout(self):
c = httplib2.HTTPSConnectionWithTimeout('localhost', 80, timeout=47)
self.assertEqual(47, c.timeout)

def testGetDeflate(self):
# Test that we support deflate compression
uri = urlparse.urljoin(base, "deflate/deflated.asis")
Expand Down
Empty file modified index.html
100644 → 100755
Empty file.
Empty file modified libhttplib2.tex
100644 → 100755
Empty file.
Empty file modified ref.tex
100644 → 100755
Empty file.
Empty file modified ref/about.html
100644 → 100755
Empty file.
Empty file modified ref/blank.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/cache-objects.html
100644 → 100755
Empty file.
Empty file modified ref/contents.html
100644 → 100755
Empty file.
Empty file modified ref/contents.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/http-objects.html
100644 → 100755
Empty file.
Empty file modified ref/httplib2-example.html
100644 → 100755
Empty file.
Empty file modified ref/images.idx
100644 → 100755
Empty file.
Empty file modified ref/img1.old
100644 → 100755
Empty file.
Empty file modified ref/img1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/img2.old
100644 → 100755
Empty file.
Empty file modified ref/img2.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/index.html
100644 → 100755
Empty file.
Empty file modified ref/index.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/modimages.idx
100644 → 100755
Empty file.
Empty file modified ref/module-httplib2.html
100644 → 100755
Empty file.
Empty file modified ref/modules.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/next.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/node2.html
100644 → 100755
Empty file.
Empty file modified ref/previous.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/pyfav.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified ref/ref.css
100644 → 100755
Empty file.
Empty file modified ref/ref.html
100644 → 100755
Empty file.
Empty file modified ref/response-objects.html
100644 → 100755
Empty file.
Empty file modified ref/up.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified setup.py
100644 → 100755
Empty file.
Empty file modified test/.htaccess
100644 → 100755
Empty file.
Empty file modified test/300/final-destination.txt
100644 → 100755
Empty file.
Empty file modified test/300/with-location-header.asis
100644 → 100755
Empty file.
Empty file modified test/300/without-location-header.asis
100644 → 100755
Empty file.
Empty file modified test/301/final-destination.txt
100644 → 100755
Empty file.
Empty file modified test/301/onestep.asis
100644 → 100755
Empty file.
Empty file modified test/302/.myhtaccess
100644 → 100755
Empty file.
Empty file modified test/302/final-destination.txt
100644 → 100755
Empty file.
Empty file modified test/302/no-location.asis
100644 → 100755
Empty file.
Empty file modified test/302/onestep.asis
100644 → 100755
Empty file.
Empty file modified test/302/twostep.asis
100644 → 100755
Empty file.
Empty file modified test/303/final-destination.txt
100644 → 100755
Empty file.
Empty file modified test/304/last-modified-only/.htaccess
100644 → 100755
Empty file.
Empty file modified test/304/last-modified-only/last-modified-only.txt
100644 → 100755
Empty file.
Empty file modified test/304/test_etag.txt
100644 → 100755
Empty file.
Empty file modified test/307/final-destination.txt
100644 → 100755
Empty file.
Empty file modified test/307/onestep.asis
100644 → 100755
Empty file.
Empty file modified test/410/410.asis
100644 → 100755
Empty file.
Empty file modified test/basic-nested/.htaccess
100644 → 100755
Empty file.
Empty file modified test/basic-nested/passwdfile
100644 → 100755
Empty file.
Empty file modified test/basic-nested/subdir/.htaccess
100644 → 100755
Empty file.
Empty file modified test/basic-nested/subdir/passwdfile
100644 → 100755
Empty file.
Empty file modified test/basic/.htaccess
100644 → 100755
Empty file.
Empty file modified test/basic/passwdfile
100644 → 100755
Empty file.
Empty file modified test/basic2/.htaccess
100644 → 100755
Empty file.
Empty file modified test/basic2/passwdfile
100644 → 100755
Empty file.
Empty file modified test/deflate/deflated-content
100644 → 100755
Empty file.
Empty file modified test/deflate/deflated-headers.txt
100644 → 100755
Empty file.
Empty file modified test/deflate/deflated.asis
100644 → 100755
Empty file.
Empty file modified test/deflate/failed-compression.asis
100644 → 100755
Empty file.
Empty file modified test/digest-expire/.htaccess
100644 → 100755
Empty file.
Empty file modified test/digest-expire/file.txt
100644 → 100755
Empty file.
Empty file modified test/digest/.htaccess
100644 → 100755
Empty file.
Empty file modified test/digest/file.txt
100644 → 100755
Empty file.
Empty file modified test/duplicate-headers/multilink.asis
100644 → 100755
Empty file.
Empty file modified test/gzip/.htaccess
100644 → 100755
Empty file.
Empty file modified test/gzip/failed-compression.asis
100644 → 100755
Empty file.
Empty file modified test/gzip/final-destination.txt
100644 → 100755
Empty file.
Empty file modified test/no-store/no-store.asis
100644 → 100755
Empty file.
Empty file modified test/test.asis
100644 → 100755
Empty file.

0 comments on commit 1a7609f

Please sign in to comment.