Skip to content

Commit

Permalink
Merge pull request #18 from nikmartin/master
Browse files Browse the repository at this point in the history
fix typo in content encoding
  • Loading branch information
pjdietz committed Dec 2, 2014
2 parents fef50df + d0a26de commit 7b13596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rester/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _unzip_body(self, body_bytes):
content_encoding = self.response.get_header("content-encoding")
if content_encoding:
content_encoding = content_encoding.lower()
if "gzip" in content_encoding or "defalte" in content_encoding:
if "gzip" in content_encoding or "deflate" in content_encoding:
body_bytes = zlib.decompress(body_bytes, 15 + 32)
return body_bytes

Expand Down

0 comments on commit 7b13596

Please sign in to comment.