title: decompress zip string in Python 2.7
body: <p>I am trying to decompress a byte64 encoded string in Python 2.7.</p>
  
  <p>I can verify that my string is valid by running this in the command line:</p>
  
  <pre><code>echo -n "MY_BASE64_ENCODED_STRING" | base64 -d | zcat
  </code></pre>
  
  <p>However, if I run this in Python2.7:</p>
  
  <pre><code>b64_data = 'MY_BASE64_ENCODED_STRING'
  text_data = zlib.decompress(base64.b64decode(b64_data))
  </code></pre>
  
  <p>I get an exception: </p>
  
  <blockquote>
    <p>Error -3 while decompressing data: incorrect header check</p>
  </blockquote>
  
  <p>Should I pass extra parameters to zlib.decompress to make it work?</p>