Merge pull request #53 from craigcitro/test_failure
Remove a newly-added exception.
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e290359
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,13 @@
+language: python
+python: 2.7
+sudo: false
+env:
+ matrix:
+ - TOX_ENV=py26
+ - TOX_ENV=py27
+install:
+- pip install tox
+script:
+- tox -e $TOX_ENV
+notifications:
+ email: false
diff --git a/googleapiclient/http.py b/googleapiclient/http.py
index cdc9f58..22cb80c 100644
--- a/googleapiclient/http.py
+++ b/googleapiclient/http.py
@@ -561,8 +561,6 @@
self._total_size = int(length)
elif 'content-length' in resp:
self._total_size = int(resp['content-length'])
- else:
- raise HttpError(resp, content, uri=self._uri)
if self._progress == self._total_size:
self._done = True